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
868 Views Asked by Talen Kylon At
1
There are 1 best solutions below
Related Questions in DATABASE
- How to add the dynamic new rows from my registration form in my database?
- How to store a date/time in sqlite (or something similar to a date)
- Problem with add new attribute in table with BOTO3 on python
- When an E-R attribute should be perceived as a relationship attribute or as an entity set attribute?
- SQLAlchemy: efficient relationship loading in 3-way many-to-many relationship
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Local or remote database with react-native?
- I want to edit a specific row in database
- How to enter data in mongodb array at specific position such that if there is only 2 data in array and I want to insert at 5, then rest data is null
- Open Web Library
- database login.py and register.py error showing 404 file not found and doesn't work
- SQL71561: SqlComputedColumn: When column selected
- Liquibase as SaaS To Configure Multiple Database as Dynamic
- Updated max input vars but table still shows error
- Spring does not map set of roles
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
Related Questions in TOAD
- Inserting data with a SQL query and insert into command is taking forever
- Cursor Toad DB2 always getting null error when variables ok
- Oracle queries not executing in SSIS, but work in TOAD
- SQL - Lag to previous distinct value
- ODP.net data and toad data difference
- How to go back the previous cursor position in Toad 14?
- TOAD - how to remove rows above data grid
- Oracle password change, REPLACE being ignored
- Oracle/TOAD: Create a collection of shared filter definitions for my team
- Oracle Query: Two/Multiple simple IF condition blocks in the same SQL file not executing
- SQL - How to get Distinct Values from a Column that are Unique to an Entry in another Column?
- Export to Excel from within sql script - is it possible?
- TOAD For Oracle debugging: How to display the value of an attribute within a record
- How can I subtract two dates and exclude if dates in between are a Tuesday or a Holiday?
- SQL using LIKE operator with multiple values from a 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 # Hahtags
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.