473,790 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Recover deleted rows from a table from archive logs?

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?
Oct 25 '06 #1
2 11481
On Oct 26, 2006 at 8:53am Snonck wrote:
SIs 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
Oct 26 '06 #2
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:
On Oct 26, 2006 at 8:53am Snonck wrote:
SIs 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.
Oct 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
29016
by: Grant | last post by:
Hi Is there a way to recover deleted records from a table. A mass deletion has occurred and Access has been closed since it happened Louis
2
12573
by: senthiltsj | last post by:
hi two days before arount 20,000 rows are manuly deleted, is there any way to recover it back. We have backup, that is 10 days old, Is there any way to recover only that 20,000 rows, Plz help me out ASAP. Regards Senthil Kumar.T
1
2679
by: nevsoft | last post by:
Hello I have Oracle 10.2.0.1 on Solaris 10g. I want to make level0 incremental backup every night and level1 incremental backup during the day. Each level0 backup will be copied over network to machine with tape and will be moved to the tape. Because there is need to be able to restore database to any point in time I have to retain all archive logs from the start (database will be used for about 1 month). At the beginnig I will take...
4
26019
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
I'm working in Visual Studio 2005 and C#. I have a DataTable with many rows. The user can delete a row. After the row is deleted, I'd like to column values for the deleted row, but any attempt to access column values results in the following exception: {"Deleted row information cannot be accessed through the row."} My understanding is that a copy of the original row is still in there. Any suggestions on how to access??
0
1431
by: Snonck | last post by:
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;
3
3757
by: Kofa | last post by:
Hi, we have an application which uses online backups, so archive logging is a requirement. We have a small/moderate size database (a few hundred megabytes isn't much by today's standards) with relatively low insert/update activity (a few thousand per day). How should I set up archive logging (number of primary and secondary logs files, size of each log file)?
1
9467
by: dbquest | last post by:
Hi, Is there a way to recover the deleted rows? We do have a backup but not for all the rows that got deleted. Appreciate some quick help on this. Thanks.
5
2435
by: daitaravi2002 | last post by:
Dear All, I am new to this Forum, what my prob in ORACLE 8I i have primary database i am trying to put all the data in test database which was not in network for that i am using archive logs. The procedure what i am doing is Taking cold backup(Oradata Folder) from primary database and copying the same in test database in place of Oradata folder, after that for every one hour i am getting archives from primary db to test db to recover...
0
1471
by: victor deng | last post by:
I find the following url which says: "The log must be an archive log so that the log file will not be reused by the source database before the Capture program can read the log." http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsptopic=/com.ibm.help.etl.doc/designing/data_flow/tstuprep.html So,the capture will read archive logs only,is it right? And in most of the cases,archive logs will be backuped and deleted by tsm or...
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10413
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9021
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3707
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.