ANKUSH THAVALI27 Sep, 20230 Comments1 Min ReadHow To Open Standby Database When Primary Database Is Lost How To Open Standby Database When Primary Database Is Lost. If your primary database is not accessible or crashed for any issue, then we can use the standby database.Follow the Below steps for opening standby database when the primary database is lost: 1. start the standby database in mount stage. shut immediate; startup mount; 2. Check the protection_mode and database_role. SQL> SELECT OPEN_MODE,PROTECTION_MODE,DATABASE_ROLE FROM V$DATABASE; OPEN_MODE PROTECTION_MODE DATABASE_ROLE ---------- -------------------- ---------------- MOUNTED MAXIMUM PERFORMANCE PHYSICAL STANDBY PLEASE NOTE: If protection_mode is other than maximum performance, then alter it as below. SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PERFORMANCE; Recover standby database: SQL> RECOVER STANDBY DATABASE; Make sure all archives has been applied in this process. Finish the recovery process: SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH; Database altered Activate the standby database: SQL> ALTER DATABASE ACTIVATE PHYSICAL STANDBY DATABASE; Database altered. Check the status: SQL> SELECT OPEN_MODE,PROTECTION_MODE,DATABASE_ROLE FROM V$DATABASE; OPEN_MODE PROTECTION_MODE DATABASE_ROLE ---------- -------------------- ---------------- MOUNTED MAXIMUM PERFORMANCE PRIMARY Open the database: SQL> ALTER DATABASE OPEN; Now application can start using this database. Hope it Helps! Oracle DBAShare: How To Apply PSU Patch On Standby DatabaseHow To Recover Standby Database When Archive Logs Are Missing In Primary