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.

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

Just like latches, mutexes are hooked into the wait interface while sleeping. Also, spinning on a mutex consumes CPU resources and will be recorded as such. To save resources (said another way, to optimize internal resources), mutex get requests are not recorded; only sleep activity is recorded. There are v$mutex_sleep (like v$latch), v$mutex_sleep_history, and dba_hist_mutex_sleep views.

Figures 3-18 and 3-19 are examples of what you could see with severe mutex contention. Wait events starting with cursor are related to acquiring a mutex to access a cursor in the library cache. It's unfortunate that the wait event name does not start with mutex, but understanding that mutexes are replacing library-related latches, it does make sense.

Resolving the most common mutex issues is detailed in their respective Oracle internals chapter. For now, you are fully prepared to detect if mutex contention exists, if it is significant, and specifically which mutex is being requested.

©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!