O'Reilly logo

Oracle Data Guard 11gR2 Administration Beginner's Guide by Nassyam Basha, Emre Baransel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – disabling and enabling database

Follow these steps to test disabling and enabling the standby database:

  1. Check the status of the standby database as follows:
    DGMGRL> show database 'INDIA_UN';
    Database - INDIA_UN
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   0 seconds
      Apply Lag:       0 seconds
      Real Time Query: ON
      Instance(s):
        INDIA
    Database Status:
    SUCCESS
    
  2. Disable the database from the configuration as follows:
    DGMGRL> disable database 'INDIA_UN';
    Disabled.
    
  3. Check the database status after disabling it from the configuration as follows:
    DGMGRL> show database 'INDIA_UN';
    Database - INDIA_UN
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   (unknown)
      Apply Lag:       (unknown)
      Real Time Query: OFF
     Instance(s): ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required