I like it for its ability of giving values for bind variables used in any SQL statement.
For a given raw SQL Trace generated by EVENT 10046 it provides:
- Trace identification including actual start and completion time, host name, instance, size, RDBMS version, etc.
- SQL statements count, user and internal, total and unique.
- Time summary: elapsed, cpu, non-idle wait events, idle wait events, for user (recursive and non-recursive) and for internal.
- Call summary for user and internal, with elapsed, cpu, logical reads, physical reads and similar performance details.
- Summary of wait events, classified by non-idle and idle for user and for internal (if EVENT 10046 level 8 or 12 was used generating trace).
- Top 20 SQL statements in terms of importance for SQL tuning analysis.
- List of all unique SQL statements with one-line performance summary per statement.
- Gaps of no trace activity found on file.
- List of transactions found (commits and rollbacks).
- Oracle errors if any.
- I/O core waits including schema objects affected (tables, indexes, partitions), when traced with level 8 or 12.
- Top 5 hot blocks, indicating the schema objects (level 8 or 12).
- Latch wait summary, by name and specific parameters (level 8 or 12).
- Non-default initialization parameters.
For every SQL statement included in the trace, it includes:
- Cursor header with SQL statement text, hash value, length, line on trace, depth, user, etc.
- Oracle errors if any.
- Call summary (parse, execute and fetch totals).
- Non-idle and idle wait events (if traced with level 8 or 12).
- I/O and latch waits summary (if level 8 or 12).
- First execution and top 10 for particular SQL statement.
- List of bind variables values for first and top 10 executions if trace was generated using EVENT 10046 level 4 or 12.
- Cumulative row source plan for all executions of SQL statement.
- Detailed explain plan if Trace Analyzer is executed on same instance where trace was generated, and if SQL statement made the Top 20 list.
- Table, index and partition details including row count, CBO statistics and indexed columns if the SQL statement generated an explain plan.
To download the installation script and usage visit http://www.metalink.oracle.com.
No comments:
Post a Comment