My Oracle Support Banner

Trial Recovery - Recover database Test (Doc ID 283262.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


Goal

In the case of stuck recovery, you have a difficult choice. If the block is relatively unimportant, and if the problem is isolated, then it is better to corrupt the block. But if the problem is not isolated, then it may be better to open the database with the RESETLOGS option.

Because of this situation, Oracle supports trial recovery. A trial recovery applies redo in a way similar to normal media recovery, but it never writes its changes to disk and it always rolls back its changes.

Trial recovery occurs only in MEMORY.

If a trial recovery encounters a stuck recovery or similar problem, then it always marks the data block as corrupt in MEMORY when this action can allow recovery to proceed. Oracle writes errors generated during trial recovery to ALERT.log files. Oracle clearly marks these errors as test run errors.

Like normal media recovery, trial recovery can prompt you for archived log filenames and ask you to apply them

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 How Trial Recovery Works ?
 When Trial recovery ends ?
 How to use TEST option for any RECOVER command ?
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.