ITPub博客

首页 > 数据库 > Oracle > 容灾端检查日志应用情况 Oracle11g DG

容灾端检查日志应用情况 Oracle11g DG

原创 Oracle 作者:kunlunzhiying 时间:2016-11-30 11:21:35 0 删除 编辑

在容灾端检查日志应用情况,运行命令。

set line 150
   set pagesize 100
   select * from (select dest_id,thread#,sequence#,applied,to_char(first_time,'yyyymmdd hh24:mi:ss') as first_time,to_char(next_time,'yyyymmdd hh24:mi:ss') as next_time
   from v$archived_log
   order by sequence# desc)
   where 1=1 and rownum <=100;--这里的100表示显示100行,可以根据需要自由调整;




然后检查 applied,都是YES first_time  和 next_time 都是接近当前时间,表面日志正在成功应用。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28211342/viewspace-2129369/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
IT搬砖

注册时间:2014-07-28

  • 博文量
    665
  • 访问量
    568681