Steps To Analyzing The Key Sections of An AWR Report
Steps To Analyzing The Key Sections of An AWR Report
1. Report Summary
2. Cache Sizes
3. Load Profile
4. Instance Efficiency Percentages
5. Top Timed Events
6. Wait Events
7. SQL Statistics
8. Instance Activity Stats
9. Time Model Statistics
10. Advisory Reports
11. Segment Statistics
12. Operating System Statistics
1. Report Summary
What It Shows:
This section provides high-level information about the database instance, including:
2. Cache Sizes
What It Shows:
Shows the sizes of the different caches (buffer cache, shared pool, etc.) before and after
the snapshot period.
How to Use It:
Use this section to ensure that the cache sizes are appropriate. Look for significant
changes in cache sizes, which could indicate automatic memory management
adjustments.
3. Load Profile
What It Shows:
Provides an overview of the database workload, including:
What It Shows:
Shows various efficiency percentages related to the instance’s performance, such as:
• Buffer Cache Hit Ratio: Indicates the percentage of logical reads found in the
buffer cache.
• Library Cache Hit Ratio: Indicates the percentage of times SQL statements are
found in the shared pool.
• Soft Parse Ratio: Indicates the percentage of SQL parses that are soft parses (i.e.,
they use already compiled code).
What It Shows:
Lists the top events by wait time, providing a quick overview of where the database is
spending the most time waiting.
How to Use It:
Focus on events with the highest Total Wait Time and Wait %. Common events
include:
• DB File Sequential Read: Indicates single block reads, often caused by index
lookups or full table scans.
• DB File Scattered Read: Indicates multiblock reads, often caused by full table
scans.
• Log File Sync: Indicates time spent waiting for redo to be written to disk, which
can be a sign of high commit rates.
Address the top events to reduce wait times and improve overall performance.
6. Wait Events
What It Shows:
Provides a detailed breakdown of all wait events, including their count, time waited, and
average wait time.
7. SQL Statistics
What It Shows:
Lists SQL statements that have consumed the most resources, categorized by:
• SQL ordered by Elapsed Time: SQL statements that took the most time to
execute.
• SQL ordered by CPU Time: SQL statements that consumed the most CPU
resources.
• SQL ordered by Gets: SQL statements that performed the most logical reads.
• SQL ordered by Reads: SQL statements that performed the most physical reads.
What It Shows:
Provides statistics about various activities in the database, such as:
• Logical Reads: Number of block reads from the buffer cache.
• Physical Reads: Number of block reads from the disk.
• Redo Writes: Number of redo writes.
What It Shows:
Breaks down where the database spends its time during user calls, including:
What It Shows:
Includes various advisory sections that provide tuning recommendations based on the
workload:
• Buffer Cache Advisory: Shows the impact of different buffer cache sizes on
physical reads.
• PGA Target Advisory: Shows the impact of different PGA sizes on cache hit
ratios and over-allocations.
• Shared Pool Advisory: Shows the impact of different shared pool sizes on parse
times and library cache hit ratios.
What It Shows:
Provides statistics on the segments that have the highest activity, including:
What It Shows:
Provides statistics about the operating system performance, including CPU usage, load
average, and memory usage.
Summary
By thoroughly analyzing each section of the AWR report, you can gain a deep
understanding of your Oracle database's performance characteristics and identify areas
that need optimization. Regularly reviewing AWR reports and addressing any
performance issues they reveal can help maintain optimal database performance and
prevent bottlenecks.