QuestionQ106

VerifiedBackup and Recovery Concepts

Your database operates in ARCHIVELOG mode. You use RMAN to create image copies and incrementally update those copies every six hours. After a routine maintenance task, an attempt to restart the instance stops in the MOUNT state with an error reporting that a data file in the EXAMPLE tablespace is missing.

You need to recover the data file as rapidly as possible while maximizing database availability.

Review these possible recovery steps:

  1. Mount the database.
  2. Take the data file offline.
  3. Bring the tablespace online.
  4. Use the RMAN SWITCH command to switch to the image copy.
  5. Recover the tablespace.
  6. Open the database.
  7. Use the RMAN RESTORE command to switch to the image copy.

Identify the correct order of the required steps.

Explanation

When RMAN image copies are kept incrementally updated, the fastest-availability recovery of a missing datafile is to take the affected datafile offline so the database can be opened immediately, open the database, use the RMAN SWITCH command to make the current image copy the datafile instantly (no time-consuming restore required), apply any remaining redo with RECOVER TABLESPACE, and finally bring the tablespace back online.

Community Discussion

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