0% found this document useful (0 votes)
789 views2 pages

Disable Active Dataguard

The document provides steps to disable and re-enable Data Guard log apply on a standby database. It involves setting the standby state to apply-off, shutting down and mounting the standby, then setting the state back to apply-on and verifying log apply is in sync.

Uploaded by

Jabras Guppies
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
789 views2 pages

Disable Active Dataguard

The document provides steps to disable and re-enable Data Guard log apply on a standby database. It involves setting the standby state to apply-off, shutting down and mounting the standby, then setting the state back to apply-on and verifying log apply is in sync.

Uploaded by

Jabras Guppies
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
  • Disable Active DataGuard

DISABLE ACTIVE DATAGUARD

1. Disable the log apply state


Primary = PRDPRIV
Standby = PRD2PRIV
Primary:
DGMGRL> connect sys/xxxx
DGMGRL> edit database stdby set state=apply-off;
2. Shutdown the Standby Database
sqlplus / as sysdba
SQL> shutdown immediate
3. Start the Standby Database in Recovery Mode
SQL> startup nomount
SQL> alter database mount standby database;
SQL> alter database recover managed standby database
disconnect from session;
4. Enable the log apply state
Primary:
DGMGRL for Linux: Version [Link].0 - 64bit Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL>
DGMGRL> connect sys/xxxx
Connected.
DGMGRL> edit database prd2priv set state=apply-on;

5. Verify that the logfile is in synch with Primary

sqlplus / as sysdba
SQL> select sequence#, archived, applied from v$archived_log;

You might also like