Time of Update: 2015-07-23
標籤:資料庫版本:11.2.0.4 伺服器版本:RedHat6.4 主庫Primary:安裝資料庫軟體及執行個體 備庫Standby: 僅安裝資料庫軟體一、搭設前主備庫環境: 主庫Primary:[[email protected] dbs]$ cat /home/oracle/.bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then .
Time of Update: 2015-07-18
標籤: (1)在Oracle 官網上下載Oracle 10g的軟體,網址為:http://download.oracle.com/otn/nt/oracle10g/10203/10203_vista_w2k8_x86_production_db.zip,可以直接複製在迅雷等下載軟體中直接進行下載。(2)然後修改以下檔案,第一個就是在disk1\stage\prereq\db\ 下的refhost.xml檔案添加如下內容:<!--Microsoft Windows 7-->&
Time of Update: 2015-07-01
標籤:今天在做項目的過程中,發現開發庫中某張表的某欄位有許多值是空的,而測試庫中該欄位的值則是有的。那麼,有什麼辦法能將測試庫中該欄位的值更新到開發庫中呢? SQL Server中這是比較容易解決的,而Oracle中就不知道方法了。SQL Server中類似問題的解決方案後來只好用最笨的方法:首先,將資料複製到Excel;(假設稱測試庫的表為A--含有資料)然後,在開發庫中建立和表A同結構的表B;(這裡為了匯入資料的簡單,我對錶B的結構進行了改造,只有兩個欄位)圖
Time of Update: 2015-07-05
標籤:java drp oracle 最近敲項目的時候偶然接觸了MySql,但是卻由於和Oracle之間的一些差別尤其是sql語句上的一些區別,讓我走了很多彎路,所以這裡就來總結一下它們兩個之間的差別。
Time of Update: 2015-06-22
標籤:hostnameExample:將bogon 改為 adelababyOracle Linux 6.5 [[email protected] ~]# hostnamebogon[[email protected] ~]# hostname adelababy[[email protected] ~]# hostnameadelababy [[email protected] ~]# vim
Time of Update: 2015-06-20
標籤:一. 如何學習Oracle1. 資料庫管理員管理Oracle(啟動停止、資料庫故障恢複)提升Oracle效能(分配記憶體)最佳化資料存放區結構……2. 資料庫程式員編寫業務SQL資料庫指令碼編程(函數、預存程序、觸發器)3. Java程式員首先應該瞭解Oracle資料庫基本的體繫結構,然後重點掌握PL/SQL及Oracle的開發工具二. Oracle 資料庫簡介 1. 對象關係型的資料庫管理系統 (ORDBMS)2.
Time of Update: 2015-06-16
標籤:oracle standby 改變standby_archive_dest1、匯出PFILE檔案;SQL> create pfile=‘/oratmp/pfile.ora‘ from spfile;File created.2、修改PFILE檔案,注釋掉#*.standby_archive_dest=‘/archivelog/standby/slog‘這行P560A:/#vi /oratmp/pfile.ora"/oratmp/pfile.ora" 58 lines, 1944
Time of Update: 2015-06-18
標籤: oracle資料庫安裝要預留出5G空間,oracle常見版本 · oracle8、oracle8i:其中“i”表示的是internet,表示oracle開始向網路發展, · oracle9i:是oracle8i的穩定版,也是現在見到最多的版本、3CD; · oracle10g:表示oracle開始基於格線運算推出的資料庫; · oracle11g:是oracle10g的穩定版,是主流推廣的版本, &
Time of Update: 2015-06-18
標籤:set head offset lin 150set pages 0set long 10000select TEXT from user_source t where t.name = upper(‘get_car_status_new‘) order by TYPE, LINE;=======================set pages 0set longchunksize 3000set long 2000000000set head offset linesize
Time of Update: 2015-06-19
標籤:參考:oracel bigfile tablespace:(推薦)http://blog.chinaunix.net/uid-20779720-id-3078273.htmlora-01652解決http://www.cnblogs.com/songling/archive/2011/03/04/1970965.html 出現:ora-01652無法通過128(在資料表空間xxx中)擴充temp段這種錯誤可能曾在兩種原因:(下面兩種情況針對普通的smallfile
Time of Update: 2015-06-18
標籤:來源程式擷取從Oracle的官網上下載Oracle 10g:10203_vista_w2k8_x86_production_db.zip;==>伺服器(必須)10203_vista_w2k8_x86_production_client.zip;==>用戶端(沒用到,可以不下載);配置refhost.xml檔案修改解壓10203_vista_w2k8_x86_production_db.zip,找到/db/Disk1/stage/prereq/db
Time of Update: 2015-06-18
標籤:解決方式1:Set the profiles of the below three to ‘None‘設定以下三個設定檔為無FND_VALIDATION_LEVELFND 驗證層FND_FUNCTION_VALIDATION_LEVELFND 功能驗證層FRAMEWORK_VALIDATION_LEVEL結構驗證層解決方式2:metalink上面給的回覆是:The issue could be related to Roles being missed. Can you please
Time of Update: 2015-06-18
標籤:oracle rman 種子資料庫 seed 起一個新執行個體名newdata1、準備pfilecp ...../dbs/init.ora ..../dbs/initnewdata.oravim
Time of Update: 2015-06-16
標籤: 深入理解Oracle表(3):三大表串連方式詳解之Nested loop join和 Sort merge join分類: Oracle 基礎管理 Oracle SQL 開發2013-01-28 00:33 2536人閱讀 評論(1) 收藏 舉報 關係數據庫技術的精髓就是通過關係表進行正常化的資料存放區
Time of Update: 2015-06-14
標籤:oracle sql 來自本人oracle最新sql回憶性演練1一篇博文http://blog.csdn.net/luozhonghua2014/article/details/45729669 只所以重新發布一次,就是抽取經驗,讓大家可以找到解決方案--------處理已有資料的欄位類型修改(前4步操作會使表中的約束丟失) --1重新命名欄位 alter table example rename column id to sid; --2添加id欄位
Time of Update: 2015-06-10
標籤:declare forInt number(18); seqnum number(18);begin for forInt in 1..20000 loop select seq_forum.nextval into seqnum from dual; insert into
Time of Update: 2015-06-06
標籤:oracle學習入門系列之六模式 上篇咱們學習記錄了ORACLE資料庫中的資料庫結構、記憶體結構和進程等,篇幅 蛤蟆感覺偏多了。這次要休整下,每次筆記不宜太多,不然與書籍有何區別。我們要保證的是每次做記錄都能所有收穫所有提升。
Time of Update: 2015-06-06
標籤:oracle編譯時間警告 plsql_warnings Compiler Warnings 編譯器警告Oracle 10g allows you to enable compile-time warnings that are useful to identify potential run-time problems in your programs. These warnings are not serious
Time of Update: 2015-06-05
標籤:postgresql trunc create or replace function trunc(p_timestamp timestamp with time zone, p_formart varchar default ‘DD‘) returns timestamp
Time of Update: 2015-06-01
標籤:tns-12547使用複製安裝oracle 11g 以後,然後使用cadb建庫報錯:ORA-12547: TNS:lost contact對於這麼一個不明顯的錯誤,實在很難定位確認問題,網上給了很多建議:1、缺包,libiao、ksh等2、設定檔錯誤3、環境變數不對4、Oracle目錄許可權不對5、$ORACLE_HOME/bin/oracle檔案許可權或檔案大小不對針對以上問題做了比較認真的檢查,都沒有發現問題所在。同時使用strace對執行sqlplus / as