Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3557883
  • 博文数量: 715
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7745
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(715)

文章存档

2023年(75)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客

分类: Oracle

2021-07-27 23:22:15

Data Guard Physical Standby - Configuration Health Check (Doc ID 1581388.1)

pstdby_prm_diag_v3.txt

pstdby_stb_diag_v3.txt

基本上查不出什么毛病来

那就再加强一下

  1. --主库

  2. select sysdate,status,error from gv$archive_dest_status where type='PHYSICAL' and status!='VALID' or error is not null;

  3. select file#, name, unrecoverable_change#, unrecoverable_time from v$datafile where unrecoverable_time > (sysdate - 1);

  4. select sysdate,database_mode,recovery_mode, gap_status from v$archive_dest_status where type='PHYSICAL' and gap_status !='NO GAP';

  5. select * from v$dataguard_status where severity in ('Error','Fatal') and timestamp > (sysdate -1);

  6. select sysdate,protection_mode, synchronized, synchronization_status from v$archive_dest_status where type='PHYSICAL' and synchronization_status !='OK';

  7. --备库
  8. select name,value,time_computed,datum_time from v$dataguard_stats where name='transport lag' and value > '+00 00:01:00';

  9. select name,value,time_computed,datum_time from v$dataguard_stats where name='apply lag' and value > '+00 00:01:00';

  10. select * from v$datafile_header where status ='OFFLINE' or ERROR is not null;

  11. select * from v$managed_standby where process like 'MRP%'; --唯一一个期望有结果的

  12. select * from v$dataguard_status where severity in ('Error','Fatal') and timestamp > (sysdate -1);


阅读(1467) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~