Download Oracle Database Backup and Recovery User's Guide

Transcript
Overview of Data Recovery Advisor
You can use CHANGE FAILURE to change the status of an open failure to CLOSED if
you have fixed it manually. However, it makes sense to use CHANGE FAILURE ...
CLOSED only if for some reason the failure was not closed automatically. If a failure
still exists when you use CHANGE to close it manually, then Data Recover Advisor
re-creates it with a different failure ID when the appropriate data integrity check is
executed.
Failure Priority Every failure has a failure priority: CRITICAL, HIGH, or LOW. Data
Recovery Advisor only assigns CRITICAL or HIGH priority to diagnosed failures.
Failures with CRITICAL priority require immediate attention because they make the
whole database unavailable. For example, a disk containing a current control file may
fail. Failures with HIGH priority make a database partly unavailable or unrecoverable
and usually have to be repaired quickly. Examples include block corruptions and
missing archived redo logs.
If a failure was assigned a HIGH priority, but the failure has little impact on database
availability and recoverability, then you can downgrade the priority to LOW. A LOW
priority indicates that a failure can be ignored until more important failures are fixed.
By default LIST FAILURE displays only failures with CRITICAL and HIGH priority.
You can use the CHANGE command to change the status for LOW and HIGH failures, but
you cannot change the status of CRITICAL failures. The main reason for changing a
priority to LOW is to reduce the LIST FAILURE output. If a failure cannot be
revalidated at this time (for example, because of another failure), then LIST FAILURE
shows the failure as open.
Failure Grouping For clarity, Data Recovery Advisor groups related failures together. For
example, if 20 different blocks in a file are corrupted, then these failures are grouped
under a single parent failure. By default, Data Recovery Advisor lists information
about the group of failures, although you can specify the DETAIL option to list
information about the individual subfailures.
A subfailure has the same format as a failure. You can get advice on a subfailure and
repair it separately or in a combination with any other failure.
Manual Actions and Automatic Repair Options
The ADVISE FAILURE command can present both manual and automatic repair
options. Data Recovery Advisor categorizes manual actions as either mandatory or
optional.
In some cases, the only possible actions are manual. Suppose that no backups exist for
a lost control file. In this case, the manual action is to execute the CREATE
CONTROLFILE statement. Data Recovery Advisor presents this manual action as
mandatory because no automatic repair is available. In contrast, suppose that RMAN
backups exist for a missing data file. In this case, the REPAIR FAILURE command can
perform the repair automatically by restoring and recovering the data file. An optional
manual action would be to restore the data file if it was unintentionally renamed or
moved. Data Recovery Advisor suggests optional manual actions if they might
prevent a more extreme form of repair such as data file restore and recovery.
In contrast to manual actions, automated repairs can be performed by Data Recovery
Advisor. The ADVISE FAILURE command presents an option ID for each automated
repair option and summarizes the action.
Data Recovery Advisor performs feasibility checks before recommending an
automated repair. For example, Data Recovery Advisor checks that all backups and
archived redo logs needed for media recovery are present and consistent. Data
15-4 Backup and Recovery User's Guide