--primary端查询v$archived_log视图,确认日志是否被应用:

 
set lines 300 pages 300
col name for a20
select name,dest_id,thread#,sequence#,standby_dest,applied,registrar,completion_time from v$archived_log
where standby_dest='YES'
order by thread#,sequence#;
 
 
 
--primary端查询primary,standby的最大日志序列号是否一致:
 
select 'Primary :' "DB Role",thread#,max(sequence#)
from v$archived_log
where standby_dest='NO'
group by thread#
union
select 'Standby :' "DB Role",thread#,max(sequence#)
from v$archived_log
where standby_dest='YES' and applied='YES'
group by thread#
order by thread#;

相关文章:

  • 2021-09-04
  • 2022-02-19
  • 2021-04-14
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-08-08
猜你喜欢
  • 2022-02-14
  • 2021-06-09
  • 2022-02-15
  • 2022-01-21
  • 2021-12-19
  • 2021-05-25
  • 2022-12-23
相关资源
相似解决方案