Re: Database comparisons

From: Robert Freeman <>
Date: Mon, 11 Jan 2010 09:52:07 -0800 (PST)
Message-ID: <>

You can use Flashback Version Query to look at all changes to data in a given table, if that helps and if the UNDO is available.


 Robert G. Freeman
Oracle ACE
Ask me about on-site Oracle Training! RMAN, DBA, Tuning, you name it! Author:
Oracle Database 11g RMAN Backup and Recovery (Oracle Press) - ON ITS WAY SOON! OCP: Oracle Database 11g Administrator Certified Professional Study Guide (Sybex) Oracle Database 11g New Features (Oracle Press) Oracle Database 10g New Features (Oracle Press) Other various titles
Blog: Check out my new blog series on installing Oracle Database 11gR2 on Windows using VMWare!

From: Dennis Williams <> To:
Sent: Mon, January 11, 2010 10:24:35 AM
Subject: Database comparisons


We have an audit finding related to data integrity. I'm looking for a way to detect all database changes on a small test database. Fortunately the environment is well-contained. Typically when we've made application changes, we verify that the data changes are what we expect. The auditors are insisting that we somehow verify there aren't unexpected changes in other tables. The environment is Oracle on Solaris. I have three thoughts:  

  1. The test database is freshly loaded from an export. After the tests, take an export and use UNIX "diff" and compare with the import.
  2. Log Miner, or somehow more directly inspecting the archive logs.
  3. Use some of the new flashback features to detect changes. This just occurred to me and I haven't had time to investigate it.

Has anyone else done anything like this before?  

Dennis Williams

Received on Mon Jan 11 2010 - 11:52:07 CST

Original text of this message