oracle dataguard常用sql语句
select log_mode,open_mode ,database_role from v$database; --查看dataguard主备库状态select status from v$instance; --查看数据库状态alter database recover managed standby database cancel; --取消日志应用alter database re