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.

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

Years ago, it was common for Oracle's single least recently used (LRU) list to have latching contention issues. LRU lists are used to ensure that the popular buffers remain in the buffer cache and to help server processes quickly locate free and unpopular buffers. The LRU lists are not used to find or locate a specific block; that is the purpose of the cache buffer chains.

One approach that can work well with a single long linked list is to simply divide the list into multiple smaller lists, as illustrated in Figure 3-4. Each of the smaller lists will have its own latch.

Figure 3-4. One approach to implement multiple latches is to divide a large single linked list into multiple smaller linked lists. Oracle did this with the least recently used (LRU) structure.

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