【NinGoo】Oracle10gR2 Logical Standby(四)轉換邏輯備庫的過程
關於Oracle10gR2邏輯備庫,之前寫過幾篇:
Oracle10gR2 Logical Standby(一)概念與原理
Oracle10gR2 Logical Standby(二)配置前需要考慮的問題
Oracle10gR2 Logical Standby(三)配置邏輯備庫
這裡記錄一下Oracle10gR2物理備庫轉換為邏輯備庫的過程中,Oracle都做了哪些操作。從alert中可以獲得很多有用的資訊:當執行alter database recover to logical standby xxxx的命令後,首先啟動基於SCN的不完全恢復(Oracle10g會自動開啟並行恢復,這個例子中啟動了15個並行恢復程式)。然後clear online redo logfile,但是Oracle10g在將備庫置於manged standby狀態的時候就提前將這個clear的動作做了,所以這裡記錄的是previously cleared,然後將備庫啟用,呼叫nid修改資料庫的DBID。
alter database recover to logical standby shtest
Thu Jun 5 14:02:55 2008
Media Recovery Start: Managed Standby Recovery (shtest)
Thu Jun 5 14:02:55 2008
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 15 processes
Media Recovery Log /oradata/archive/shtest/1_2274_655399684.arc
Media Recovery Log /oradata/archive/shtest/1_2275_655399684.arc
Media Recovery Log /oradata/archive/shtest/1_2276_655399684.arc
Media Recovery Log /oradata/archive/shtest/1_2277_655399684.arc
Thu Jun 5 14:02:56 2008
Incomplete Recovery applied until change 20447678
Thu Jun 5 14:02:56 2008
Media Recovery Complete (shtest)
RESETLOGS after incomplete recovery UNTIL CHANGE 20447678
Resetting resetlogs activation ID 54725959 (0×3430d47)
Online log /oradata/shtest/redo01_01.dbf: Thread 1 Group 1 was previously cleared
Online log /oradata/shtest/redo01_02.dbf: Thread 1 Group 1 was previously cleared
Online log /oradata/shtest/redo02_01.dbf: Thread 1 Group 2 was previously cleared
Online log /oradata/shtest/redo02_02.dbf: Thread 1 Group 2 was previously cleared
Online log /oradata/shtest/redo03_01.dbf: Thread 1 Group 3 was previously cleared
Online log /oradata/shtest/redo03_02.dbf: Thread 1 Group 3 was previously cleared
Standby became primary SCN: 20447676
Thu Jun 5 14:03:01 2008
Setting recovery target incarnation to 2
Thu Jun 5 14:03:01 2008
Converting standby mount to primary mount.
Thu Jun 5 14:03:01 2008
ACTIVATE STANDBY: Complete - Database mounted as primary (shtest)
*** DBNEWID utility started ***
DBID will be changed from 54167428 to new DBID of 55371925 for database SHTEST
DBNAME will be changed from SHTEST to new DBNAME of SHTEST
Starting datafile conversion
Setting recovery target incarnation to 1
Datafile conversion complete
Database name changed to SHTEST.
Modify parameter file and generate a new password file before restarting.
Database ID for database SHTEST changed to 55371925.
All previous backups and archived redo logs for this database are unusable.
Database has been shutdown, open with RESETLOGS option.
Succesfully changed database name and ID.
*** DBNEWID utility finished succesfully ***
Thu Jun 5 14:03:03 2008
ARC1: Archival disabled due to instance shutdown
Shutting down archive processes
Archiving is disabled
Thu Jun 5 14:03:03 2008
Completed: alter database recover to logical standby shtesthttp://www.ningoo.net/html/2008/oracle10gr2_convert_to_logical_standby_database.html
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/1384/viewspace-342924/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 4 Creating a Logical Standby Database 建立邏輯備庫Database
- Linux LVM Logical Volume Management 邏輯卷的管理LinuxLVM
- oracle邏輯讀過程Oracle
- 11 管理邏輯備庫
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Verilog 邏輯綜合過程
- [20181113]Logical Standby建立2.txt
- 邏輯STANDBY建立中碰到ORA-16146: standby destination control file enqueue unavailableENQAI
- 邏輯STANDBY上的ORA-00600: internal error code, arguments: [krvtadc], [], [], [], [], []Error
- 邏輯STANDBY負載高,應用緩慢的解決負載
- Golang原始碼學習:排程邏輯(四)系統呼叫Golang原始碼
- Oracle資料庫的邏輯備份工具-expdp資料泵Oracle資料庫
- openGauss-邏輯備份
- 【機器學習】邏輯迴歸過程推導機器學習邏輯迴歸
- 邏輯課程目錄
- MongoDB 邏輯備份工具mongodumpMongoDB
- expdp 邏輯備份指令碼指令碼
- atc轉換過程問題記錄
- Oracle 12.2 physical standby備庫收集AWR報告Oracle
- 【ASK_ORACLE】Oracle Data Guard(三)邏輯備庫的概念和優勢Oracle
- MySQL鎖(一)全域性鎖:如何做全庫的邏輯備份?MySql
- 一次ORACLE字元轉換分析過程Oracle字元
- 搭建windows到linux的oracle 12c physical standby備庫WindowsLinuxOracle
- Mysql備份與恢復(2)---邏輯備份MySql
- MySQL5.7 透過邏輯備份遷移到GreatSQL注意事項MySql
- 儲存過程迴光返照?SQLite邏輯和資料合併儲存過程SQLite
- 簡單的幾條Insert語句引起的邏輯Standby應用延遲的診斷
- 圖解MySQL邏輯備份的實現流程圖解MySql
- oracle邏輯備份之--資料泵Oracle
- 透過RMAN備份standby database成功恢復還原Database
- 【轉】交換機開發(二)—— 三層交換機報文轉發過程
- 邏輯鏈路控制與適配協議層(L2CAP,Logical Link Control and Adaptation Protocol)協議APTProtocol
- 遊戲機制設計:生活邏輯轉化為遊戲邏輯的設計形式遊戲
- 資料庫邏輯遷移方案資料庫
- Vsan分散式檔案系統邏輯架構損壞恢復過程分散式架構
- PostgreSQL,SQLServer邏輯增量(通過邏輯標記update,delete)同步到Greenplum,PostgreSQLSQLServerdelete
- Linux程式排程邏輯與原始碼分析Linux原始碼
- 說說SpringMVC從http流到Controller介面引數的轉換過程SpringMVCHTTPController
- Sympy玩轉邏輯符號運算符號