Database Warning(s): ORA-16826: apply service state is inconsistent with the DelayMins property

Este warning se refiere a que existe una latencia de sincronización entre la base de datos primario y standby de de acuerdo al parámetro DelayMins.

DGMGRL> show configuration

Configuration - DR_ORCL

  Protection Mode: MaxPerformance
  Databases:
    orcldb  - Primary database
    orcldr - Physical standby database
      Warning: ORA-16826: apply service state is inconsistent with the DelayMins property

Fast-Start Failover: DISABLED

Configuration Status:
WARNING

DGMGRL> show database orcldr

Database - orcldr

  Role:            PHYSICAL STANDBY
  Intended State:  APPLY-ON
  Transport Lag:   0 seconds (computed 0 seconds ago)
  Apply Lag:       3 minutes 20 seconds (computed 0 seconds ago)
  Apply Rate:      0 Byte/s
  Real Time Query: OFF
  Instance(s):
    ORCLDR

  Database Warning(s):
    ORA-16826: apply service state is inconsistent with the DelayMins property

Database Status:
WARNING

Para solventar este evento sera necesario reiniciar el servicio MRP (Media Recovery process):

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT; En esta sentencia, se utiliza la cláusula «USING CURRENT LOGFILE». Esta cláusula indica que el proceso de recuperación utilizará el archivo de registro actual para aplicar los cambios de datos en el sitio de standby. Es decir, se aplicarán los cambios contenidos en el último archivo de registro que se generó en el sitio de producción (primary).

Reiniciar el servicio el servicio MRP el tiempo de latencia estará acorde al parámetro DelayMin

DGMGRL> show configuration

Configuration - DR_ORCL

  Protection Mode: MaxPerformance
  Databases:
    orcldb  - Primary database
    orcldr - Physical standby database

Fast-Start Failover: DISABLED

Configuration Status:
SUCCESS

DGMGRL> show database orcldr

Database - orcldr

  Role:            PHYSICAL STANDBY
  Intended State:  APPLY-ON
  Transport Lag:   0 seconds (computed 0 seconds ago)
  Apply Lag:       0 seconds (computed 0 seconds ago)
  Apply Rate:      0 Byte/s
  Real Time Query: OFF
  Instance(s):
    ORCLDR

Database Status:
SUCCESS

DGMGRL>
people found this article helpful. What about you?
Deja una respuesta 0

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *