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;