16826, 0000, “apply service state is inconsistent with the DelayMins property”
// *Cause: This warning was caused by one of the following reasons:
// 1. Apply service was started without specifying the real time apply
// option or without the NODELAY option while DelayMins is zero.
// 2. Apply service was started with the real-time apply option or
// with the NODELAY option while DelayMins is greater than zero.
// *Action: Reenable the standby database to allow the broker to restart
// the apply service with the apply options that are consistent
// with the specified value of the DelayMins property.
well, this error has convinced me to really start out this blog because I don’t want to spend a lot of time researching just to find out that it only takes less than a minute to fix it. i’ve encountered this error before but forgot how to troubleshoot it thus the blog.
if ever you have this error, the simple fix would be to get on data guard manager line-mode (dgmgrl, i prefer command lines rather than gui’s because it gives more control over what’s happening) and disable the configuration and reenable it. see below for details
prim-oradb:dgmgrl
DGMGRL for Solaris: Version 10.2.0.3.0 – 64bit Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type “help” for information.
DGMGRL> connect sys
Password:
Connected.
DGMGRL> show configuration
Configuration
Name: dg_iq_oradb
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim_oradb – Primary database
std_oradb – Physical standby database
Current status for “dg_iq_oradb”:
Warning: ORA-16608: one or more databases have warnings
DGMGRL> show database verbose ‘prim_oradb’
Database
Name: prim_oradb
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
oradb
Properties:
InitialConnectIdentifier = ‘prim_oradb’
LogXptMode = ‘ASYNC’
Dependency = ”
DelayMins = ‘0’
Binding = ‘OPTIONAL’
MaxFailure = ‘0’
MaxConnections = ‘1’
ReopenSecs = ‘300’
NetTimeout = ‘180’
LogShipping = ‘ON’
PreferredApplyInstance = ”
ApplyInstanceTimeout = ‘0’
ApplyParallel = ‘AUTO’
StandbyFileManagement = ‘MANUAL’
ArchiveLagTarget = ‘0’
LogArchiveMaxProcesses = ‘2’
LogArchiveMinSucceedDest = ‘1’
DbFileNameConvert = ”
LogFileNameConvert = ”
FastStartFailoverTarget = ”
StatusReport = ‘(monitor)’
InconsistentProperties = ‘(monitor)’
InconsistentLogXptProps = ‘(monitor)’
SendQEntries = ‘(monitor)’
LogXptStatus = ‘(monitor)’
RecvQEntries = ‘(monitor)’
HostName = ‘prim_oradb’
SidName = ‘oradb’
LocalListenerAddress = ‘(ADDRESS=(PROTOCOL=tcp)(HOST=prim-oradb.com)(port=1522))’
StandbyArchiveLocation = ‘/opt/Oraarch/arch/oradb/’
AlternateLocation = ”
LogArchiveTrace = ‘0’
LogArchiveFormat = ‘arch_%t_%s_%r.log’
LatestLog = ‘(monitor)’
TopWaitEvents = ‘(monitor)’
Current status for “prim_oradb”:
SUCCESS
DGMGRL> show database verbose ‘std_oradb’
Database
Name: std_oradb
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: ONLINE
Instance(s):
oradb
Properties:
InitialConnectIdentifier = ‘std_oradb’
LogXptMode = ‘ASYNC’
Dependency = ”
DelayMins = ‘0’
Binding = ‘OPTIONAL’
MaxFailure = ‘0’
MaxConnections = ‘1’
ReopenSecs = ‘300’
NetTimeout = ‘180’
LogShipping = ‘ON’
PreferredApplyInstance = ”
ApplyInstanceTimeout = ‘0’
ApplyParallel = ‘AUTO’
StandbyFileManagement = ‘MANUAL’
ArchiveLagTarget = ‘0’
LogArchiveMaxProcesses = ‘2’
LogArchiveMinSucceedDest = ‘1’
DbFileNameConvert = ”
LogFileNameConvert = ”
FastStartFailoverTarget = ”
StatusReport = ‘(monitor)’
InconsistentProperties = ‘(monitor)’
InconsistentLogXptProps = ‘(monitor)’
SendQEntries = ‘(monitor)’
LogXptStatus = ‘(monitor)’
RecvQEntries = ‘(monitor)’
HostName = ‘std-oradb’
SidName = ‘oradb’
LocalListenerAddress = ‘(ADDRESS=(PROTOCOL=tcp)(HOST=std-oradb.com)(port=1522))’
StandbyArchiveLocation = ‘/opt/Oraarch/arch/oradb/’
AlternateLocation = ”
LogArchiveTrace = ‘1’
LogArchiveFormat = ‘arch_%t_%s_%r.log’
LatestLog = ‘(monitor)’
TopWaitEvents = ‘(monitor)’
Current status for “std_oradb”:
Warning: ORA-16826: apply service state is inconsistent with the DelayMins property
DGMGRL> disable configuration
Disabled.
DGMGRL> show configuration
Configuration
Name: dg_iq_oradb
Enabled: NO
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim_oradb – Primary database
std_oradb – Physical standby database
Current status for “dg_iq_oradb”:
DISABLED
DGMGRL> enable configuration
Enabled.
DGMGRL> show configuration
Configuration
Name: dg_iq_oradb
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim_oradb – Primary database
std_oradb – Physical standby database
Current status for “dg_iq_oradb”:
Warning: ORA-16610: command ‘Broker automatic health check’ in progress
DGMGRL> show configuration
Configuration
Name: dg_iq_oradb
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim_oradb – Primary database
std_oradb – Physical standby database
Current status for “dg_iq_oradb”:
SUCCESS
DGMGRL>