The AWR report provides the SQL information for top 10-20 SQL statements. Is it possible to get information on SQL statements that do not make it to the top list? How do we find all sql id, sql text, number of executions, execution time between two AWR snap ids in oracle?
Oracle – Finding SQL ID, SQL Text, and Execution Details Between AWR Snap IDs
awrdatabase-internalsoracle
Related Question
- Oracle – Historical SQL Monitoring Techniques
- Loging queries and their error Text
- Oracle – Configuring AWR Reports
- Oracle Query Execution Time – How to Find Execution Time of Old Queries
- Oracle – How to Measure Performance of a Single SQL Execution
- Chronological list of statements from Oracle trace
- I am counfused about when Oracle database won’t do parsing
Best Answer
This will get those fields between 2 snap IDs, just replace the snap ID's in the where clause