12c broker ArchiveLagTarget 不一致(ORA-16714)
阿新 • • 發佈:2018-02-17
broker com targe tab show ndb pre state base 在配置了brokger的dg環境下,一定要用broker 去調整相關參數,切記。
1、查看DG狀態,發現有告警 DGMGRL> show database orcldg; Database - orcldg Role: PHYSICAL STANDBY Intended State: APPLY-ON Transport Lag: 0 seconds (computed 0 seconds ago) Apply Lag: 0 seconds (computed 0 seconds ago) Average Apply Rate: 7.00 KByte/s Real Time Query: OFF Instance(s): orcldg Warning: ORA-16714: the value of property ArchiveLagTarget is inconsistent with the database setting Database Status: WARNING 2、查看不一致參數,broker裏的值為0,參數文件裏為60 DGMGRL> show database orcldg inconsistentProperties; INCONSISTENT PROPERTIES INSTANCE_NAME PROPERTY_NAME MEMORY_VALUE SPFILE_VALUE BROKER_VALUE orcldg ArchiveLagTarget 60 60 0 3、確認參數文件裏的參數 SQL> show parameter archive_lag NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ archive_lag_target integer 60 SQL> 4、使用broker修改參數 DGMGRL> edit database orcldg SET PROPERTY ArchiveLagTarget=0; Property "archivelagtarget" updated DGMGRL> 5、查看DG狀態,告警無 DGMGRL> show database orcldg; Database - orcldg Role: PHYSICAL STANDBY Intended State: APPLY-ON Transport Lag: 0 seconds (computed 1 second ago) Apply Lag: 0 seconds (computed 1 second ago) Average Apply Rate: 6.00 KByte/s Real Time Query: OFF Instance(s): orcldg Database Status: SUCCESS DGMGRL>
12c broker ArchiveLagTarget 不一致(ORA-16714)