QuestionQ152

VerifiedPerforming Recovery

A database instance is started using an SPFILE. The database is configured in ARCHIVELOG mode, and control file autobackup is enabled. Daily full database backups are run with RMAN.

All control files were lost because of media failure.

Given these recovery steps in random order:

  1. Shut down the instance, if it is not already shut down.
  2. Restore the control file from autobackup to a new location.
  3. Start the database instance in the NOMOUNT state.
  4. Recover the database to the control file failure point.
  5. Open the database using the RESETLOGS option.
  6. Mount the database.
  7. Use the ALTER SYSTEM command to update the SPFILE with the control file's new location.

Identify the correct sequence of required steps.

Explanation

With all current control files lost, RMAN restores a backup control file while the instance is in NOMOUNT. When the file is restored to a new location, the CONTROL_FILES initialization parameter must be updated in the SPFILE before mounting so the instance can use that restored control file. Recovery is required after mounting a restored control file, and the database must then be opened with RESETLOGS.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!