Solved

How do you retrieve deleted data after a commit?

Posted on 2002-07-16
3
3,529 Views
Last Modified: 2008-02-26
2 data records were deleted in sql and a commit was executed. These records need to be retrieved. How can I
restore them?

First time using experts exchange, please bear with me.
We are using oracle 8i, I have very little experience with
oracle administration and would need a detail step by step walk through if possible.
0
Comment
Question by:grasshopper_usa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
mnicoras earned 50 total points
ID: 7157346
Hi,

in oracle 8i = using log miner

in oracle 9i = using flashback query

in oralce 8 and bellow = the worsest procedure I can imagine for a DBA...

choose one and more details can come!

best regards,
Marius Nicoras
0
 
LVL 4

Expert Comment

by:asimkovsky
ID: 7157553
Do you have a backup of the database? Does that backup contain the two rows you need?

If you do, you can clone the database to a new server, recover it to a point in time before the deletion occurred (like one SCN just prior to the COMMIT statement for the delete), then copy those two rows from the clone back to the original database.

Andrew
0
 

Expert Comment

by:dsimpson
ID: 7165992
The following document provides 15 database recovery scenarios - including this situation (scroll down to Scenario #8):

http://www.dotcomsolutionsinc.net/products/installgen/win_901_32bit_files/installgen_win901_39_.html#recovery_scenarios

To summarize, if you have a database export available, then re-importing the data would generally be the quickest method.

David Simpson
www.dotcomsolutionsinc.net
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
Via a live example, show how to take different types of Oracle backups using RMAN.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question