0% found this document useful (0 votes)
32 views

Recover Dropped Table Using RMAN: Recovering A Specific Table From Backup

This document discusses how to recover a dropped table using RMAN in Oracle 11g and 12c. In Oracle 11g, recovery could involve complex solutions with potential data loss, while Oracle 12c introduces a simpler "Recover Table" feature that allows recovery of a specific table from backup without data loss. The key steps are to ensure the database is in archive log mode, identify the timestamp when the table was dropped, connect to RMAN, and use the recover table command to recover the dropped table up until the specified time.

Uploaded by

kouma48
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Recover Dropped Table Using RMAN: Recovering A Specific Table From Backup

This document discusses how to recover a dropped table using RMAN in Oracle 11g and 12c. In Oracle 11g, recovery could involve complex solutions with potential data loss, while Oracle 12c introduces a simpler "Recover Table" feature that allows recovery of a specific table from backup without data loss. The key steps are to ensure the database is in archive log mode, identify the timestamp when the table was dropped, connect to RMAN, and use the recover table command to recover the dropped table up until the specified time.

Uploaded by

kouma48
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Recover Dropped Table 

Using RMAN
Accidental drop of the table and its recovery is a complex task. The solutions offered till Oracle
12c were either complex and having data loss.
Note : This discussion assumes , the table which is not there in recycle bin or recycle bin is
turned off
 
Oracle 11g solutions with Data Loss

1. Point in time recovery using database backup and archivelogs.


2. Flashback database before the point of table drop.
Oracle 11g solution without Data Loss

1. Create A temporary database with the backupod tablespace for the dropped table, sys,
system and undo tablespaces of the first database ( primary database)
2. Do point time recovery for the timestamp just before the drop of the table
3. Take the export of the table to be recovered
4. Import the table to original database
 
Oracle 12c made the things simple by new feature called “Recover Table ” . Here is the steps for
the same.

Recovering a Specific Table from Backup


1) Select log_mode from v$database; –> Database should be in archivelog mode
2) Find the location to store the datafiles to the temporary database created in this step
3) Find the time stamp at which the table is dropped.
4) RMAN > connect target /
5) RMAN> recover table wysheid.tab1 until time “to_date(’05/30/2018
03:59:00′,’mm/dd/yyyyhh24:mi:ss’)” auxiliary destination ‘/wysheid/oracle/auxilairy/’ ;

You might also like