Solved

How do you retrieve deleted data after a commit?

Posted on 2002-07-16
3
3,480 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 Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

710 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