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

Steps To Open Standby Database When Primary DB Is LOST

The document provides steps to convert a standby database to a primary database when the primary is lost. The steps are to startup the standby in mount mode, check the status, recover any archive logs, finish the recovery process, activate the standby as primary, check the new status, and open the database in read-write mode.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Steps To Open Standby Database When Primary DB Is LOST

The document provides steps to convert a standby database to a primary database when the primary is lost. The steps are to startup the standby in mount mode, check the status, recover any archive logs, finish the recovery process, activate the standby as primary, check the new status, and open the database in read-write mode.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

How To Open The Standby Database When The Primary Is Lost

There may be scenario where Primary database is lost and we are only left with the
standby database . In this scenario's we have to open the standby database in read-
write mode. Below are the steps to convert standby database to Primary database.

1] Startup Mount :

2] Check Status :

3] Recover if there is any archive logs :

SQL>recover standby database;


ORA-01153: an incompatible media recovery is active

To solve this issue, we cancel the media recovery by using the below command .

SQL> alter database recover managed standby database cancel;


Database altered.

4] Finish the Recovery process :


The below command will perform the role transition as quickly as possible with little or
no data loss and without rendering other standby databases unusable and to open the
database in read-write mode we fire the below command :

5] Activate the Standby Database :

6] Check the new status :

7] Open the Database :

Enjoy :-)

You might also like