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.
PleaseOut 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.
-------------------------------
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.
Let's now put this all together and walk through an example. Figure 6-9 will represent the entire CBC structure. In this example, I will make certain abstractions or simplifications, focusing on areas that I have already covered and that are useful for performance firefighting. As you progress through the next chapters, the story will become increasingly detailed, bringing together all that you've learned.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut 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.
|