12c Broker 监控DataGuard
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了12c Broker 监控DataGuard相关的知识,希望对你有一定的参考价值。
SQL> set lines 200
SQL> select * from v$version where rownum=1;
BANNER CON_ID
-------------------------------------------------------------------------------- ----------
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0
SQL>
Monitorable (Read-Only) Properties
DGMGRL> show database orcl ‘LogXptStatus‘ ##redo日志传输
LOG TRANSPORT STATUS
PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
orcl orcldg
orcl orcldg2
DGMGRL>
DGMGRL> show database orcl ‘InconsistentLogXptProps‘ ##不一致的redo日志传输属性(primary)
INCONSISTENT LOG TRANSPORT PROPERTIES
INSTANCE_NAME STANDBY_NAME PROPERTY_NAME MEMORY_VALUE BROKER_VALUE
DGMGRL> show database orcl ‘InconsistentProperties‘; ##不一致的数据库属性
INCONSISTENT PROPERTIES
INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUE
DGMGRL>
DGMGRL> show database orcl ‘StatusReport‘; ##报错
STATUS REPORT
INSTANCE_NAME SEVERITY ERROR_TEXT
DGMGRL>
DGMGRL> show database orcl TopWaitEvents ##等待事件
TOP SYSTEM WAIT EVENTS
Event Wait Time
rdbms ipc message 16769701
class slave wait 2573282
PX Idle Wait 2507538
Space Manager: slave idle wait 1435970
DIAG idle wait 1260277
以上是关于12c Broker 监控DataGuard的主要内容,如果未能解决你的问题,请参考以下文章