HOME > > Case 3: If missing Redo log is CURRENT

Case 3: If missing Redo log is CURRENT

Anup - Friday, May 20, 2011
When a current redo log is lost, the transactions in the log file are also lost before making to archived logs. Since a DB startup can no more perform a crash recovery (since all the now-available online log files are not sufficient to startup the DB in consistent state), an incomplete media recovery is the only option.

We will need to restore the DB from a previous backup and restore to the point just before the lost redo log file. The DB will need to be opened in RESETLOGS mode. There is some transaction loss in this scenario.

Step 1: Restore Database (All control file, log file and data file) from Cold Backup
Step 2: Startup database with mount option.

SQL> startup mount

Step 3: Recover database using backup control file option.

SQL> recover database using backup controlfile;

Step 4: Cancel the recovery.

SQL> recover database using backup controlfile until cancel;

Step 5: Open the database with resetlog option:

Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me