Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Manual Recovery of Data Guard Standby Database

Oracle Database Tips by Donald BurlesonDecember 9, 2015


Manual Recovery of Data Guard Standby Databases

To start manual recovery of a standby database, mount the database, and start recovery. During the recovery process, the archive logs will be read from the default location specified by the log_archive_dest_n initialization parameter. However, the location of the archived logs can be specified in the RECOVER …DATABASE statement to override the location designated by the log_archive_dest_n parameter.

The following statements start the manual recovery process. It assumes that the oracle_sid is set correctly and the initialization file is in the $ORACLE_HOME/dbs directory. Also, the archived logs are copied from the primary database onto the log_archive_dest_1 location on the standby site:

  •  Startup the database:


  •  Mount as standby database:


  •  Start recovery process:



Data Guard

Donald K. Burleson

Oracle Data GuardChapter 4 - Oracle instance Administration

Manual Recovery of Standby Databases

If the archive logs are not located in the directory specified by the log_archive_dest_1 parameter, the following statement can be used to start recovery reading the log files from other locations:

RECOVER FROM 'archive_log_location' STANDBY DATABASE;

Figure 4.1 - Manual Data Guard Recovery Process

Shutting Down the Standby Database

Before shutting down the standby database, exclude this standby site from the archival operation on the primary database. As long as the Oracle instance is down, the log transfer service will not attempt to write any new archived log files to this standby destination. This parameter can be updated dynamically using the ALTER SYSTEM statement followed by switching a log file on the primary site.

On the standby site, ensure that the managed recovery process is not running. Find the status of the managed recovery process using the v$managed_standby dynamic view. If the managed recovery process is running, cancel the recovery before shutting down the database.

If the database is open in read-only mode, find the active sessions in the database and close the active sessions before issuing the shutdown statement. The following steps show the shut down procedure of the standby database:

  • Defer the log transfer service, assuming that this standby site is designated as second destination on the primary database:


  •  Switch a log file on the primary database:


  • Check the managed recovery process on the standby site:


  • Cancel the recovery process on the standby site:

Oracle instance CANCEL;

  • Shutdown the database:


The above text is an excerpt from the book: Oracle Data Guard Handbook

Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.