Solved

How do you retrieve deleted data after a commit?

Posted on 2002-07-16
3
3,386 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Clone Oracle 12c Database 5 52
join 2 views with 5 conditions 3 56
Not able to add the URL for the   access control list - oracle plsql 10 101
PL SQL Developer 7 36
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

810 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