If a control file has been lost or corrupted, you must first shut down the database and recover the control files before recovering the database.
To shut down the database and recover the control files
SHUTDOWN;
Note: The restore process restores the original control file. You must rename the restored version of the control file to its original file name.
At the SQL*Plus prompt enter:
CONNECT SYS/SYS_PASSWORD AS SYSDBA; STARTUP MOUNT; RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
When you apply the online redo logs manually, you must supply the full path and file name. If you enter an incorrect log, reenter the command:
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
Supply the correct online redo log file name at the prompt. Continue this procedure until Oracle has applied all logs successfully.
ALTER DATABASE OPEN RESETLOGS;
ALTER TABLESPACE TABLESPACE_NAME ONLINE;
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |