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.

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

Now I realize this is interesting and all that, but I also understand some readers may think this block dump and ITL stuff is not all that relevant. But I beg to differ. Not only have you gained a fuller understanding of the TX enqueue, but you have also clearly seen how Oracle implements its patented row-level locking scheme, In the next section, you will see how ITLs are involved with the "snapshot too old" error and with buffer cloning!

Earlier in this chapter, I introduced block cloning as it relates to CBC latch contention. Now I will delve deeper into exactly how Oracle does this using ITLs, undo blocks, SCNs, and other interesting Oracle tidbits.

If you recall, when a server process locates a desired buffer and discovers a required row has changed since its query began, it must create a back-in-time image of the buffer. This is known as a consistent read (CR) buffer of the current (CU) buffer. Once the buffer is copied, the appropriate undo is applied, bringing the copied buffer back in time until the CR buffer has been properly cloned. Now let's step through this process.

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