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.
-------------------------------
The title of this section is a little misleading because the contention is centered on commit times taking an unacceptably long period. When this occurs, the top wait event will be log file sync. If users occasionally commit, they may not feel like performance is slow (the good news). However, users who frequently commit, especially when a rapid committing piece of code is involved, will certainly feel the effect and have a considerable amount of their wait time associated with the log file sync wait event.
A challenge in effectively dealing with log file sync waits is that there are many causes for this wait event. For example, it can occur because of rapid application commits (there is overhead in each commit request), the log writer has too much redo to write per commit (requiring more time to complete each write), or large amounts of redo per transaction (requiring more time to complete the write). Whatever the reason, the general solution is understanding the problem arises when a commit occurs and that commits are simply taking too long.
As Figure 8-7 shows, when the commit times are taking too long, it is common for other redo-related wait events to occupy the top few wait slots. The most common second top event will be log file parallel 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.
|