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.
-------------------------------
As strange as this may sound, before subpools existed, increasing the shared pool size could eventually result in shared pool latch contention. Every algorithm is limited in capability and is designed to operate in specific situations. When the situation changes, the algorithm may not perform as desired. And don't forget that increasing a cache to support more activity will almost always require more CPU resources to manage. So, there will likely be a point of diminishing returns. Oracle's initial shared pool memory management algorithm worked fairly well up to a shared pool of around 600MB, but once it hit around 750MB, it was very common for DBAs to begin seeing significant shared pool latch contention.
To illustrate my point, back in Oracle8i days, while speaking to about 300 Oracle E-Business Suite DBAs, I took a survey. I asked the DBAs to raise their hand if they kept increasing shared pool memory to reduce 4031 errors, but while the 4031 errors decreased, they also saw a significant increase in shared pool latch contention. To the surprise of their colleagues, about one-third of all the DBAs raised their hands! Upon further questioning, we learned that for the Oracle Applications (as they were called then), the point of diminishing returns was around a 700MB shared pool.
Once subpools where introduced, and especially combined with the other solutions I've outlined, shared pool latch contention can be successfully resolved.
©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.
|