Getting Execution Statistics (Inserts/Deletes/Updates) for an execution
976501Nov 27 2012 — edited Nov 28 2012I am using Oracle 11g R2.
I would like to know what is the most efficient way of getting the modification stats on all modified tables from the execution of a stored procedure.
The USER_TAB_... show only the modified tables so I cannot collect their stats before the execution of a procedure and make afterwards a delta.
Touching all tables beforehands does not seem to be the most efficient way of doing it :(
is there a way of purging - resetting the "usage stats" on all tables? without having to "gather_schema_stats"?
Thank You,
Matt