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.

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

* There are thousands of CBC latches. Years ago, the rule of thumb for the number of latches was that they should not exceed the number of CPU cores times two. Obviously, Oracle has changed the rules, because I know for a fact that none of the Table 6-1 systems has over 500 CPU cores! And don't forget that the CBC latches represent only one of the many latches Oracle uses (last count on an Oracle Database 11g system was 382 latches).

* Each CBC latch can cover a couple hundred chains. Once you realize Oracle can handle multiple CBC latches, you might jump to the conclusion that there will be one latch for every CBC. Oracle does not consider this necessary and feels comfortable with each latch being responsible for perhaps over a hundred chains.

* In every case, there are more chains than buffers. Not just by a few, but by two times or more. If there are more chains than buffers, this means some chains will not have an associated buffer header, effectively having a chain length of zero. While this may seem wasteful, it clearly shows that Oracle does not want a process consuming CPU resources, holding a latch and doing a sequential scan. It also implies the developers don't trust their hashing algorithm to not produce collisions. They decided it costs less (however that was measured-perhaps memory consumption) to increase the hashing structure size in the hope of saving CPU cycles and improving response time.

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