Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How does a RECOVER using BACKUP CONTROLFILE know the exact LOG SEQUENCE no

user13076519Apr 27 2011 — edited Apr 28 2011
I am doing the following process to make a database clone from a hot backup. Pretty standard stuff.

1) copy all the datafiles (inconsistent) from the hotbackup to the destination host
2) recreate controlfile using CREATE CONTROLFILE command
3) recover database until cancel using backup controlfile

Oracle promptly asks for the exact log sequence number needed for the recovery. Lets say sequence #17 is the first log sequence it requires during the recovery.

My question is HOW does the recovery process know the exact log sequence number ? I understand that controlfile contains a record of the archive log history. But my controlfile is a newly recreated controlfile (which means it has no prior history of archived log files in the controlfile)

This is a basic part of the Oracle backup and recovery. But wondering what happens behind the scenes in this regard.

-Thanks
Srinivas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2011
Added on Apr 27 2011
15 comments
1,306 views