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.

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

The touch count reset has significant ramifications. First, this means touch counts will not skyrocket into infinity. Figure 6-21 is an example of what you may find in your production system. It may be surprising, but due to the touch count reset during promotion, buffer headers typically have a touch count of 0, 1, or 2. The touch count reset also means the most popular buffer headers will not necessarily have the highest touch counts. If you notice a particular buffer has a low touch count, you may have caught a popular buffer just after it was promoted or crossed into the cold region. In fact, the highest touch count buffer headers will reside near the LRU end of the LRU chain!

With all this touch count incrementing, resetting to zero, and touch count inquiry, the definition of a popular buffer begins to get a little nebulous. Is a popular buffer one that remains in the cache for 8 hours with an average touch count of 2, or a buffer that remains in the cache for 5 minutes with an average touch count of 250? Well, Oracle has determined a popular buffer simply needs a touch count greater than or equal to 1 (by default) when asked.

Figure 6-21. Shown are touch counts followed by the number of buffers with that touch count (the number of occurrences). Notice that the touch counts are much lower than you may initially think. This is due to the touch counts being reset.

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