Real-time query(备库操作)
——查询状态:
SQL> select database_role,open_mode from v$database;
DATABASE_ROLE OPEN_MODE
---------------- --------------------
PHYSICAL STANDBY READ ONLY
——应用日志:
SQL> recover managed standby database using current logfile disconnect from session;
Media recovery complete.
——查询状态:
SQL> select database_role,open_mode from v$database;
DATABASE_ROLE OPEN_MODE
---------------- -------------------------------------------------
PHYSICAL STANDBY READ ONLY WITH APPLY (表示只读且在应用日志,即实时查询模式)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31397003/viewspace-2126916/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/31397003/viewspace-2126916/