A copy of the control file cannot be read or written to.
Database activities continue normally until the next update of the control file - that is, until the next checkpoint or redo log file switch - and the database then crashes.
In this case you do not need to carry out an explicit recovery of the database. The system can carry out a recovery automatically, providing a copy of the control file exists.
Recovery Procedure
There are two main options for recovery after one of the control files is lost:
- Replace the missing control file
Find out why the control file was lost. For example, you cannot replace the file when the disk is not available.
Check the ALERT and trace files of the database system to analyze the error. The error messages will indicate which control file is missing, and may also indicate how it was lost.
Replace the missing control file control file as follows:
- Shut down the database and exit SVRMGR.
- Copy an existing control file to the desired storage location at operating system level (see parameter control_files in the init.ora profile).
- Start SVRMGR and start up the database.
- Modify the database system
Check the ALERT and trace files to find out which control file was lost.
- Shut down the database and exit SVRMGR.
- Delete the missing file from parameter control_files in profile init.ora (default:
- Start SVRMGR and start up the database. No other actions are required for recovery.
No comments:
Post a Comment