You were brought to this page based on an internet search
and as a free service to Oracle DBAs.
The text below is an except from the book,
Oracle Performance Firefighting, written by
Craig Shallahamer of
OraPub, Inc.
Figures and tables are not included on this page, only their reference.
To order the book in either print or PDF form, click
here.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
-------------------------------
This situation is very common; if you have not encountered it before, you will. The key to diagnosing this situation (or any for that matter) is to not remove initially uncomfortable data from your analysis. Either the data is incorrect (which is something to consider) or your analysis is not yet complete.
Up to this point, all wait time discussed has been the average wait time. Just as with weather temperatures, you should expect values both above and below the average. While the average conveniently simplifies potentially thousands of values into a single value, we do lose some information through this statistical simplification. Starting with Oracle Database 10g, the view v$event_histogram provides a more detailed look into the actual wait times, providing more than just the simple statistic of average.
Figure 5-11 is a good example of how a histogram perspective adds important additional information to your analysis. While not shown, a standard wait event report showed the top wait event to be db file scattered read, with an average wait time of 14.9 ms. While the average multiblock read request is greater than my rule-of-thumb of 10 ms, some IO administrators will argue this is not significant enough to motivate change. But what most people miss is that over 25% of the multiblock read requests took more than 16 ms, and 18% of the requests took an excess of 32 ms! That is shocking and makes the argument to reduce IO response time stronger and more urgent.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
|