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-20. Flowchart of a server process searching for a free buffer as the result of a physical IO block read and LRU chain latch acquisition. If a database writer is scanning an LRU, it is the same, except that an unpopular free buffer is not replaced, but skipped, and scanning continues.
A buffer header's life in an LRU chain begins at the midpoint. Because other buffer headers are being replaced and inserted into the midpoint, as buffers get promoted, a buffer header naturally migrates toward the LRU end of the LRU chain. As presented in the previous section, the only way for a buffer header to get promoted is to be identified as popular. Another significant event occurs when a buffer crosses the midpoint, moving from the hot region into the cold region.
When a buffer crosses into the cold region, its touch count is reset to a default of 1 (_db_aging_cool_count). This has the affect of cooling a hot buffer, something no buffer who desires to remain in the cache wants to occur. Increasing this parameter will artificially increase buffer value, thereby increasing the likelihood of buffer movement.5 So, by default, when a buffer header crosses into the cold region, it must be touched at least once to match the promotion criteria (_db_aging_hot_criteria).
©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.
|