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.
-------------------------------
Figure 8-10 also shows that log writer background process calls on this Linux Oracle Database 10g Release 2 system are not tightly wrapped within a gettimeofday call. While this might initially be a little unsettling, making you think Oracle's timing may now be in error, as long as Oracle also knows the number of writes and also the multiple write call duration, it can easily calculate the average. In fact, reducing the number of gettimeofday calls when the process makes quick multiple write calls (as occurred in Figure 8-10) is not only more efficient, but also shows Oracle is making efforts to reduce its kernel code instrumentation overhead.
When redo is involved in a performance issue, as shown in Figure 8-11, it is common to see multiple redo-related wait events. Focus on the top event, and then work your way down, while considering expected performance improvement, ease of solution implementation, supportability, and so on. For example, while log file parallel write is the top wait event, simply increasing the redo log buffer size will eliminate most of the log buffer space waits. To make a shockingly strong case for redo problems, by classifying all redo-related waits, you can say that over 99% of all the wait time is associated with redo!
Figure 8-11. Shown is a common v$system_event interval report clearly indicating severe redo-related performance problems, with instance processes waiting 40% of their wait time on the log writer background process to complete a write.
©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.
|