I have a rather large database (1100 tables or so). I'm interested in taking a snapshot of the database, doing some work in the application, taking another snapshot and comparing the two to figure out which tables got touched. I'm using TOAD for Oracle. Is something like this possible, or is there a better way to do it?
Database Snapshots with Toad for Oracle
867 Views Asked by Talen Kylon At
1
There are 1 best solutions below
Related Questions in DATABASE
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- How to not load all database records in my TListbox in Firemonkey Delphi XE8
- microsoft odbc driver manager data source name not found and no default driver specified
- Cloud Connection with Java Window application
- Automatic background scan if user edit column?
- Jmeter JDBC Connection Configuration Parametrization of Database URL for accessing SQL Database
- How to grant privileges to current user
- MySQL: Insert a new row at a specific primary key, or alternately, bump all subsequent rows down?
- Inserting and returning autoidentity in SQLite3
- Architecture: Multiple Mongo databases+connections vs multiple collections with Express
- SQL - Adding a flag based on results within a query - best practice?
- Android database query not returning any results
- Developing a search and tag heavy website
- Oracle stored procedure wrapping compile error with inline comments
- Problems communicating with mysql in php
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in TOAD
- How to get result set from Oracle Stored Procedure?
- Excel Import Data from SQL- Date comes in as text value
- oci_fetch always return false
- SQL Alternative to IN operator with variable and between
- ORA-01830: date format picture ends before converting entire input string in TOAD
- SQL How to find parts of a field then put them in a new column
- Toad: 10.6: Seek clear instructions on automating reoccuring excel reports
- Importing large CSV to Oracle via TOAD
- What to do with Oracle data format error?
- How to run sql queries in SQL Developer or TOAD and extract result using bat file
- Toad SQL optimizer not returning elapsed time
- SQL*Loader Control File Custom Date Format
- SQL Server: Issues with data type
- oracle database to find recently added column in table or database(oracle)
- Reuse subquery results in multiple SELECT in Oracle (Can't create table)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't really use TOAD but I think it has very little to do with what you want.
Assuming only the one application is running I think you could check which tables were accessed by it checking the
DBA_TAB_MODIFICATIONSthe tables need to haveMONITORINGattribute set. See docs for ALL_TAB_MODIFICATIONS You can then combine this with enabling Fine-Grained Auditing on tables you want to monitor. This will allow you to monitor INSERT, UPDATE, and DELETE queries, looking at bind variables and much more. Check the docs About Fine-Grained Auditing You need to have Enterprise Edition to use Fine-Grained AuditingDo you need to revert the changes done by the application?
If so the best and easiest approach to revert the changes would be Oracle Flashback technology. It simply allows you to check previous state of tables based on your flashback retention target. Again the docs are quite overwhelming on the subject Using Flashback Database and Restore Points and Oracle Flashback query Flashback technology is an extra feature which has to be bought from Oracle.
You could in theory do this also by doing database point-in-time recovery, this is done through RMAN check the docs for complete information on this Database Backup and Recovery Basics 10g This is an overkill and I don't recommend it for your scenario.
I think the best approach to your problem is to add or enable logging of SQL queries on the application side.