监控primary/standby数据库

1、表格

 

 

2、相应数据字典

  1、查看进程的活动状态

 SQL> select process,client_process,sequence#,status from v$managed_standby;

 

2、确认redo应用进度

SQL> select dest_name,archived_thread#,archived_seq#,applied_thread#,applied_seq#,db_unique_name from v$archive_dest_status where status='VALID';

 

3、检查归档文件路径及创建信息---v$archived_log

SQL> select name,creator,sequence#,applied,completion_time from v$archived_log;

 

4、查询归档历史---v$log_history

SQL> select first_time,first_change#,next_change#,sequence# from v$log_history;

 

5、查询当前数据的基本信息---v$database

SQL> select database_role,db_unique_name,open_mode,protection_mode,protection_level,switchover_status from v$database;

SQL> select fs_failover_status,fs_failover_current_target,fs_failover_threshold, fs_failover_observer_present from v$database;

 

6、检查应用模式(是否启用了实时应用)---v$archive_dest_status

SQL> select recovery_mode from v$archive_dest_status where dest_id=2;

 

7、Data guard 事件---v$dataguard_status

SQL> select message from v$dataguard_status;

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值