QuestionQ99

VerifiedPerforming Recovery

You ran DROP USER CASCADE on an Oracle 11g release 1 database and immediately realized that you had forgotten to copy the OCA.EXAM_RESULTS table to the OCP schema.

The RECYCLE_BIN was enabled before the DROP USER operation, and the OCP user has been granted the FLASHBACK ANY TABLE system privilege.

What is the fastest way to restore the contents of the OCA.EXAM_RESULTS table to the OCP schema?

Explanation

Dropping a user purges that user's recycle-bin objects, so Flashback Drop cannot restore the table even when the recycle bin was enabled and the target user has FLASHBACK ANY TABLE. Fully automated RMAN tablespace point-in-time recovery uses an auxiliary instance to recover the affected tablespace to a point before the drop, allowing the table contents to be recovered without reverting the entire database.

Learn more

Community Discussion

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