Oracle dataguard之主备库切换(switchover)
1.确保主库的所有日志文件都刷到备库查询备库的v$archived_log视图。SQL> select sequence#,applied from v$archived_log; SEQUENCE# APPLIED---------- --------- 48 YES 49 YES 50 YES 51 YES 52 YES 53 YES 55 YES 54 YE