千家信息网

oracle12c broker ArchiveLagTarget不一致怎么办

发表于:2025-01-21 作者:千家信息网编辑
千家信息网最后更新 2025年01月21日,这篇文章主要介绍oracle12c broker ArchiveLagTarget不一致怎么办,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!在配置了brokger的dg环境下,
千家信息网最后更新 2025年01月21日oracle12c broker ArchiveLagTarget不一致怎么办

这篇文章主要介绍oracle12c broker ArchiveLagTarget不一致怎么办,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

在配置了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 settingDatabase Status:WARNING2、查看不一致参数,broker里的值为0,参数文件里为60DGMGRL> 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_lagNAME                   TYPE        VALUE------------------------------------ ----------- ------------------------------archive_lag_target           integer     60SQL> 4、使用broker修改参数DGMGRL> edit database orcldg SET PROPERTY ArchiveLagTarget=0;Property "archivelagtarget" updatedDGMGRL> 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):    orcldgDatabase Status:SUCCESSDGMGRL>

以上是"oracle12c broker ArchiveLagTarget不一致怎么办"这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!

0