dbTalk Databases Forums  

Recover deleted rows from a table from archive logs?

comp.databases.oracle comp.databases.oracle


Discuss Recover deleted rows from a table from archive logs? in the comp.databases.oracle forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Snonck
 
Posts: n/a

Default Recover deleted rows from a table from archive logs? - 10-25-2006 , 06:53 PM






Is is possible to recover deleted rows from a table from archive logs?

For example, say you have a database with archive logging turned off.
You create a table and populate it with records. You then reset the logs
and place the database in archivelog mode.

Then you

delete from table;

commit;

Is the necessary information in the archive logs such that you can
reconstruct the deleted rows from the table?

Reply With Quote
  #2  
Old   
Steven Patterson
 
Posts: n/a

Default Re: Recover deleted rows from a table from archive logs? - 10-26-2006 , 02:16 AM






On Oct 26, 2006 at 8:53am Snonck wrote:
S> Is is possible to recover deleted rows from a table from archive logs?

Typically not, as the archivelogs need only record (and, as I understand
it, DO only record) the rowid of the deleted row - when rolling forward
(as the archivelogs are intended to be used) this is all the information
you need about the transaction.

Your options for recovery (you probably already know this) would be Oracle
Flashback, if you're in time, or a point-in-time recovery of the database
to a separate instance, and export of the table.

S.
--
Steven Patterson, MSci (Hons), Oracle Certified Professional

Reply With Quote
  #3  
Old   
Snonck
 
Posts: n/a

Default Re: Recover deleted rows from a table from archive logs? - 10-26-2006 , 08:22 AM



Thanks for your reply.

I accidentally posted this question here instead of into
comp.databases.oracle.server.

I have now moved the question into the above newsgroup as it is a little
more livelier. I'm still trying to find out what the answer is as there
seems to be a bit of discussion about it.



Steven Patterson wrote:
Quote:
On Oct 26, 2006 at 8:53am Snonck wrote:
S> Is is possible to recover deleted rows from a table from archive logs?

Typically not, as the archivelogs need only record (and, as I understand
it, DO only record) the rowid of the deleted row - when rolling forward
(as the archivelogs are intended to be used) this is all the information
you need about the transaction.

Your options for recovery (you probably already know this) would be Oracle
Flashback, if you're in time, or a point-in-time recovery of the database
to a separate instance, and export of the table.

S.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.