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.

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

This particular solution is very clean in that it requires minimal effort and we are not gaming Oracle's shared pool LRU algorithm. However, keep in mind that more subpools may require more shared pool memory, an instance restart is required for the instance parameter change to take affect, and Oracle reserves the right to not respect your recommendation.

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.

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