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.

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

Oracle's CBC structure, as this is called, is a complex memory structure, and Oracle must maintain serialization control. So it employs one of its serialization structures: a latch or a mutex. As of Oracle Database 11g, Oracle is still using the latching scheme.

Figure 6-9 is a small example of an Oracle hashing structure consisting of two CBC latches (CS 800 and CS 810), six CBCs (CBC 00 through CBC05), and eleven buffer headers (BH nnnn). This is a very small example, but it does show all the key pieces with their proper associations. It is common for Oracle CBCs to have a zero length. Oracle does this to help minimize collisions. As I'll describe next, Oracle goes to great lengths to minimize collisions, and only a very unfortunate situation would lead to a buffer chain more than six buffer headers long.

Figure 6-9. A representation of Oracle CBC structure consisting of two CBC latches, six cache buffer chains, and eleven buffer headers. Notice both control structures (CS 800 and CS 810) cover three CBCs, reducing the likelihood of CBC latch contention.

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