Skip to Main Content
Oracle Data Guard 11gR2 Administration : Beginner's Guide
book

Oracle Data Guard 11gR2 Administration : Beginner's Guide

by Yunus Emre Baransel, Nassyam Basha
June 2013
Beginner content levelBeginner
404 pages
9h 40m
English
Packt Publishing
Content preview from Oracle Data Guard 11gR2 Administration : Beginner's Guide

Time for action – switchover with a logical standby database using SQL*Plus

Now we will see a step-by-step approach to perform a switchover between the primary and the logical standby database:

  1. Check the switchover status of the primary database. Ensure that the status is either TO STANDBY or SESSIONS ACTIVE; if so, you are safe to perform a switchover as shown in the following code:
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    --------------------
    TO STANDBY

    Note

    In case of RESOLVABLE GAP, wait until SQL was applied on the logical standby database; for other statuses, troubleshoot and fix the synchronization for the switchover process to be successful.

  2. Prepare the primary database for switchover. Execute the following command from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Database Administration: The Essential Refe

Oracle Database Administration: The Essential Refe

David C. Kreines, Brian Laskey
Oracle Database 12c Security

Oracle Database 12c Security

Scott Gaetjen, David Knox, William Maroulis

Publisher Resources

ISBN: 9781849687904Other