Reputation: 13118
Is there a way to record sql statements performing on table in Oracle? I need to record those queries for a table in production and hopefully rerun them in my test to make sure I don't mess up table modification.
Thanks,
Sean
Upvotes: 1
Views: 147
Reputation: 730
Oracle automatically records any SQL executed against the instance in a table called v$sqlarea
Upvotes: 0
Reputation: 6289
Oracle Database Replay is exactly the feature you are looking for: http://www.oracle.com/technetwork/articles/sql/11g-replay-099279.html
Upvotes: 4