TEN TIPS FOR USING AWR
TOP TEN TIPS
Sometimes we just want to get a quick idea of how things look on a database. Reviewing an AWR report is
one way to do that. Here are ten most-used methods.
CHECK THE TOP-5 FOREGROUND EVENTS
Almost always, a database will be waiting most often on disk reads--usually sequential reads for OLTP-type
applications, or direct path read (or scattered read) for databases running batch jobs doing full scans. Very
often, CPU time is the next event. Below is one such typical report.
Top 5 Timed Foreground Events
CHECK THE SEQUENTIAL READ RATE
The sequential read rate is a great metric. You can compare that number across platforms, whereas the
scattered read metric is not easily comparable. Disk latency should always be below 10 ms, or at least 100
reads/sec. Depending on how the SAN is caching data, the sequential read rate is sometimes as low as 2
ms. That indicates the SAN has already cached the data, not that the disk drives are really fast.
In the excerpt above, you can see we have 8 ms latency.
REVIEW TOP-SQL BY ELAPSED TIME
This is a convenient, easy way to see the longest runtime for that period. Here is an example:
SQL ordered by Elapsed Time
评论