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.

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

If a system is experiencing 4031 errors, you should always check the value of cursor_space_for_time. If your system has experienced severe shared pool latch contention at some point in the past, someone may have understandably set cursor_space_for_time to true. While you may not decide to set the parameter to false, it is a valid option and should be seriously considered.

If too many objects have been forced to remain in the shared pool by issuing the dbms_shared_pool.keep procedure, they may be consuming so much memory that Oracle simply may not be able to successfully manage what remains. Also, if a large object is not being kept in the shared pool, the instance has been running for a while, and then the object is referenced, when it is forced to be loaded, the memory may not be available. The key is to not casually keep objects in the shared pool. You should intelligently reduce and refine your pin list, as described earlier in the "Resolving Shared Pool Latch Contention" section.

Surely, 4031 errors are not the only reason to upgrade, but starting with Oracle Database 10g Release 2, Oracle began standardizing memory into 4KB chunks.6 While I would never recommend upgrading to this version only because of this improvement, it may be part of the rationale to upgrade.

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