dataguard主备延迟多长时间的2种查询方法
1、
备库sqlplus>select value from v$dataguard_stats where name='apply lag'
2、
备库sqlplus>select ceil((sysdate-next_time)*24*60) "M" from v$archived_log where applied='YES' AND SEQUENCE#=(SELECT MAX(SEQUENCE#) FROM V$ARCHIVED_LOG WHERE applied='YES');
当前题目:dataguard主备延迟多长时间的2种查询方法
文章转载:http://scyanting.com/article/pdiojo.html
备库sqlplus>select value from v$dataguard_stats where name='apply lag'
2、
备库sqlplus>select ceil((sysdate-next_time)*24*60) "M" from v$archived_log where applied='YES' AND SEQUENCE#=(SELECT MAX(SEQUENCE#) FROM V$ARCHIVED_LOG WHERE applied='YES');
当前题目:dataguard主备延迟多长时间的2种查询方法
文章转载:http://scyanting.com/article/pdiojo.html