Example: Recovering a Database Configured for Real-Time Redo Transport After a Severe Storage Failure
Real-time redo transport, when enabled, guarantees the lowest recovery downtime for protected database. When restoring and recovering a protected database immediately after a storage failure, the necessary complete and partial archived log files are restored and recovered so that media recovery can return the database state to the closest state from when the storage failure occurred.
The following example recovers a protected database that was configured to use real-time redo transport after a storage failure that results in the loss of all data files and online redo log files. To recover the protected database to the highest SCN using the backups and redo logs available at the Recovery Appliance, use the FINAL_CHANGE#
column of the RC_DATABASE
view. The FINAL_CHANGE#
column contains the highest SCN to which the protected database must be recovered. Use this SCN value in the SET UNTIL SCN
command prior to performing a recovery. The recovery is performed using only the backups and redo logs available at the Recovery Appliance.
Note:
In the following scenarios, RC_DATABASE.FINAL_CHANGE#
will contain the value -1 and cannot be used in the SET UNTIL SCN
command:
-
version of the protected database is Oracle Database 11g (Release 11.1) or lower
-
COMPATIBLE
parameter of the protected database was set to 10.0 or lower while sending real-time redo log data to the Recovery Appliance
Instead, use the NEXT_CHANGE#
column in the V$ARCHIVED_LOG
view to determine the SCN to which the protected database needs to be recovered.
See My Oracle Support note 243760.1 for additional information. My Oracle Support is available at: https://support.oracle.com
.
To restore and recover a protected database that is configured to use real-time redo transport:
See Also:
-
Oracle Database Backup and Recovery Reference for a description of the
FINAL_CHANGE#
column