Home » RDBMS Server » Server Administration » Help! Accidental data deletion! Recovery!
Help! Accidental data deletion! Recovery! [message #53500] Tue, 24 September 2002 13:49 Go to next message
sheela
Messages: 66
Registered: March 2002
Member
We have a database in archive log mode. Cold backups are performed weekly (Saturday) and daily exports are done. Its a very busy database. A user has accidently deleted a large amount of data
from a table (say TAB1) at 8.30am Thursday. Nobody came to know about this until 12.30pm the same day. The database is then shutdown. Users have entered more data into TAB1 between 8.30am and 12.30pm. How do we recover this deleted data and also make sure that new data entered between 8.30am and 12.30pm is also available?

Any procedures with and without RMAN will be helpful. I got a OracleREcoveryScenarious info from this site, but that doesn't explain this scenario.

Thx
Tony
Re: Help! Accidental data deletion! Recovery! [message #53502 is a reply to message #53500] Tue, 24 September 2002 14:38 Go to previous messageGo to next message
Suresh
Messages: 189
Registered: December 1998
Senior Member
This could be a possibility,

Have a complete copy of the db and all related files before you atempt to do the recovery.

Since you need both the deleted data and also the new data entered between 8.30am and 12.30pm, then I think
you will have to clone the database from the backup files and do an imcomplete recovery on the cloned database until just before 8.30am Thursday (just before the user deleted the data). Open the cloned db with 'resetlogs' option and you will have the table TAB1 with the data that was deleted by the user. Copy the deleted data from cloned db table TAB1 into your Original database table TAB1.

I am not sure of the new tools in 9i (if you are using 9i).

Hope some one else give you a better solution.
Re: Help! Accidental data deletion! Recovery! [message #53519 is a reply to message #53500] Wed, 25 September 2002 05:59 Go to previous messageGo to next message
Gilson Sirvas
Messages: 6
Registered: September 2002
Junior Member
Hi
There are an scenario called point-in-time recovery to do this kind of recovery I suggest to find information about this at the Oracle generic documentation.
I hope this help you.
Re: Help! Accidental data deletion! Recovery! [message #53521 is a reply to message #53500] Wed, 25 September 2002 11:02 Go to previous messageGo to next message
Suresh
Messages: 189
Registered: December 1998
Senior Member
Hi B,

What about the transactions to the other tables (other than TAB1 ) between 8.30am and 12.30pm
Re: Help! Accidental data deletion! Recovery! [message #53525 is a reply to message #53521] Wed, 25 September 2002 12:31 Go to previous messageGo to next message
sheela
Messages: 66
Registered: March 2002
Member
Yeap, there is data modification in all other tables too between 8.30am and 12.30pm.
Re: Help! Accidental data deletion! Recovery! [message #53543 is a reply to message #53521] Thu, 26 September 2002 00:31 Go to previous messageGo to next message
B
Messages: 327
Registered: August 1999
Senior Member
Should Know what's the user has done...
there is no easy way to restore all the data ...
Ur Clone database's solution is a good one ... if U have time and resource to create it ...
Re: Help! Accidental data deletion! Recovery! [message #53551 is a reply to message #53500] Thu, 26 September 2002 09:59 Go to previous message
Grant
Messages: 578
Registered: January 2002
Senior Member
If you use 8i and above use logminer on the archive log or redo log.
Previous Topic: Query takes too long
Next Topic: Re: URgent
Goto Forum:
  


Current Time: Thu Dec 26 23:55:32 CST 2024