Active dataguard means, the standby database is open with read only mode, even when redo logs are getting applied in real time.

Below are the benefit of using active dataguard.

  • Reporting queries can be offloaded to standby database.
  • Physical block corruptions are repaired automatically either at primary or physical standby database.
  • RMAN backups can be initiated from standby , instead  of primary which will reduce cpu load from primary.
  • NOTE - To use active dataguard, you need additional license from oracle

    Let-s say we have a physical standby database which is in mount state. Implement below steps to enable active dataguard database.

     

    1. Cancel the media recovery on physical standby.

    SQL> alter database recover managed standby database cancel;
    
    

    2. Open the database[PHYSICAL STANDBY]

    SQL> alter database open;
    
    Database altered.
    

    3. Start media recovery with real-time log apply[PHYSICAL STANDBY]

    SQL> alter database recover managed standby database using current logfile disconnect from session;
    
    Database altered.
    
    

    4. Check the database status:[PHYSICAL STANDBY]

    SQL> select name,open_mode from v$database;
    
    NAME      OPEN_MODE
    --------- --------------------
    PRODDB   READ ONLY WITH APPLY
    
    
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       RECEIVING           510
    RFS       IDLE                  0
    RFS       IDLE               4178
    MRP0      APPLYING_LOG        510 --->>>>  MRP PROCESS 
    
    

    Now active dataguard has been enabled.

    dataguard DATAGUARD


    Related Topics

    How to add a tempfile in primary database in dataguard
    How to disable enable log shipping in standby using dgmgrl
    How to recreate physical standby controlfile
    Flashback primary database in dataguard environment
    How to setup dataguard broker configuration (DG broker) in 12c
    Useful DGMGRL commands in oracle dataguard
    Standby redologs in oracle dataguard
    How to enable active dataguard in physical standby database
    How to use expdp to export data from physical standby database

    You May Also Like

    Oracle database Security Assessment Tool
    OUTBOUND_DBLINK_PROTOCOLS in oracle 12.2
    Lock account automatically with INACTIVE_ACCOUNT_TIME
    Unified audit trail in Oracle 12c
    Schema replication using oracle goldengate
    How to get the execution plan for a SQL between two AWR snapshots
    Shared Pool Advisory in oracle
    Tablespace monitoring shell script
    ESTIMATE REQUIRED DISK SPACE FOR EXPORT USING estimate_only
    TRUST_EXISTING_TABLE_PARTITIONS in oracle 12.2 datapump

    From This Website

    SKIP_CONSTRAINT_ERRORS as DATA_OPTION in impdp
    ORA-01536: space quota exceeded for tablespace
    How to get the execution plan for a SQL between two AWR snapshots
    How to recreate physical standby controlfile
    Purge AUD$ table using DBMS_AUDIT_MGMT
    ORA-32773: operation not supported for smallfile tablespace
    FLASHBACK parameter in DATAPUMP(EXPDP)
    ORA-30034: Undo tablespace cannot be specified as temporary tablespace
    How to install oracle client in silent mode using response file
    LOG_CHECKPOINTS_TO_ALERT parameter in oracle