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.

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

In this snippet, 4KB of memory was trying to be allocated in subpool 6, but for some reason, this could not be accomplished. Fortunately, there are a number of ways to reduce the likelihood of receiving the dreaded 4031 error.

As with resolving shared pool latch contention, one solution to 4031 errors is to flush the shared pool. While no DBA wants to admit to periodically flushing a shared pool,4 this still works. Depending on the Oracle release, the amount of allocated shared pool memory, and the application's unique memory usage pattern, it may be your best bet. This is especially true for pre-Oracle 9i systems.

Increasing shared pool memory conceptually provides Oracle with more flexibility in satisfying memory requests. However, along with the benefits, there is always a cost when shifting computing resources. In most cases, the benefits actually do outweigh the costs, so if the operating system has the memory available, or if you can shift memory from other Oracle caches to the shared pool, increasing shared pool memory is highly likely to reduce 4031 errors.

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