tags:

views:

34

answers:

2

Given an SCN (system change number), and assuming an SCN for which the data is still in the undo logs, what information about the SCN can I derive?

  • of course, SCN_TO_TIMESTAMP() gives an approximate time the data was committed.

  • Is there any other information I can derive? What transaction, what tables, what data were affected? etc?

+1  A: 

This sounds like a good question for Tom :).

dcp
+1  A: 

See V$LOGMNR_CONTENTS - you can track back the transaction using Log Miner.

You can find which point a particular transaction happened to assist in determining a point in time to restore a database - SET UNTIL SCN = for example.

Stellios