一、控制檔案的多工a)、shutdown immediate;b)、作業系統下,複本備份檔案到新的磁碟,拷貝下新控制檔案的全路徑;c)startup nomount;d)、alter system set control_files = 'F:\Oracle\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL01.CTL','F:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL02.CTL','F:\ORACLE\PRODUCT\10.1
啟動時應用重做日誌,關閉時取消重做日誌:8.1Starting Up and Shutting Down a Physical Standby DatabaseThis section describes the SQL*Plus statements used to start up and shut down a physical standby database.8.1.1Starting Up a Physical Standby Database8.1.1
錯誤定位: SQL> !oerr ora 01002 01002, 00000, "fetch out of sequence" // *Cause: This error means that a fetch has been attempted from a cursor // which is no longer valid. Note that a PL/SQL
8.3.2Dropping Tablespaces and Deleting Datafiles8.3.2 刪除資料表空間和刪除資料檔案 When you delete one or moredatafiles or drop one or more tablespaces in the primary database, you also need to delete the corresponding datafiles to the standby database. The
一:環境資訊1)主庫(單一實例)主機平台:AIX6.1資料庫版本:11.2.0.3(psu5)2)備庫(部署了crs)主機平台:AIX6.1資料庫版本:11.2.0.3(psu5)二:方案背景由於業務量增加,資料庫需要由單一實例,改成兩節點rac。為了減少停機時間,採用DG方式遷移。三遷移方案:1.檢查資料庫是否支援Data Guard(只有企業版才支援DG)SQL> select * from v$option where parameter = 'Managed
Oracle中日期欄位的處理Test表中有start_date欄位,如何取得start_date的年份呢。例如start_date為"2014-04-21"。取得的年份應為2014.如果start_date的資料類型為date的話。SELECT TO_CHAR(start_date,'YYYY') FROM Test;可以得到start_date的年份。如果start_date的資料類型為varchar的話。SELECT