Oracle Performance Firefighting
by Craig Shallahamer

Get the book here



Craig Shallahamer's Blog

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.
Please—Out 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.

-------------------------------

As discussed in the previous section, in pre-Oracle9i systems, the redo copy latch can also be used to allocate space in the redo log buffer. So, one Oracle-focused option is to increase the _log_small_entry_max_size instance parameter. Because this hidden instance parameter affects both the redo allocation and redo copy latches, a more direct solution is to simply add more redo copy latches.

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.

©2009, 2010 by Craig Shallahamer. This is copyrighted material.
Please—Out 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.


Know what's important before it's too late!

OraPub's
Performance Training

is like no other...





More Class Pics...
Get student testimonials!