环境:Oracle linux 5.5+Oracle 11.2.0.2
发现一套1一主二从的Oracle 11.2.0.2主从库的一个active standby无法实时同步。
查看dgmgrl配置没有问题,日志同步状态为实时同步: LogXptMode = 'SYNC'
DGMGRL> show database verbose s2bzcge;
Database - s2bzcge
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: ON
Instance(s):
bzcge
Properties:
DGConnectIdentifier = '(description =(address_list =(address = (protocol = tcp)(host = *.*.*.* )(port = 1111)))(connect_data =(service_name = service)))'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'optional'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs
Database - s2bzcge
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: ON
Instance(s):
bzcge
Properties:
DGConnectIdentifier = '(description =(address_list =(address = (protocol = tcp)(host = *.*.*.* )(port = 1111)))(connect_data =(service_name = service)))'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'optional'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs

在Oracle 11.2.0.2环境中,遇到主动备库无法实时同步的问题。通过检查配置、删除并重新加入数据库到DGMGRL、删除并重建备用重做日志组,最终解决了实时同步问题。关键操作包括修改LogXptMode为'SYNC',调整备用重做日志的大小以匹配主库。
最低0.47元/天 解锁文章
819

被折叠的 条评论
为什么被折叠?



