從Oracle
下面通過一個實驗演示整個過程
SQL> alter system set db_recovery_file_dest_size=
系統已更改
SQL> alter system set db_recovery_file_dest=
系統已更改
SQL> alter database recover managed standby database cancel;
數據庫已更改
SQL> create restore point restore_point_test guarantee flashback database;
還原點已創建
SQL> alter system archive log current;
系統已更改
SQL> alter system set log_archive_dest_state_
系統已更改
SQL> alter database activate standby database;
數據庫已更改
SQL> alter database open;
數據庫已更改
SQL> create table t
表已創建
SQL> drop table t
表已刪除
SQL> startup mount force;
ORACLE 例程已經啟動
Total System Global Area
Fixed Size
Variable Size
Database Buffers
Redo Buffers
數據庫裝載完畢
SQL> flashback database to restore point restore_point_test;
閃回完成
SQL> alter database convert to physical standby;
數據庫已更改
SQL> startup mount force;
ORACLE 例程已經啟動
Total System Global Area
Fixed Size
Variable Size
Database Buffers
Redo Buffers
數據庫裝載完畢
SQL> alter database recover managed standby database disconnect from session;
數據庫已更改
SQL> alter system set log_archive_dest_state_
系統已更改
主庫檢查歸檔目的狀態
SQL> select dest_name
DEST_NAME STATUS
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
LOG_ARCHIVE_DEST_
已選擇
備庫檢查相關進程
SQL> select process
PROCESS STATUS
ARCH CONNECTED
ARCH CONNECTED
MRP
RFS IDLE
From:http://tw.wingwit.com/Article/program/Oracle/201311/16945.html