Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Shared Pool fragmentation

Re: Shared Pool fragmentation

From: Tanel Poder <>
Date: Tue, 13 Jan 2004 13:44:39 -0800
Message-ID: <>

dba_object_size only shows some fixed calculations from stored code (how big is the code segment etc..), but it doesn't show how much memory a loaded object actually uses in shared pool.
If you want to know library cache usage, use v$db_object_cache or x$kglob directly.
If you want to know shared pool usage, then you have to start taking shared pool heapdumps....
----- Original Message -----
From: Jamadagni, Rajendra
To: Multiple recipients of list ORACLE-L
Sent: Tuesday, January 13, 2004 11:09 PM
Subject: RE: Shared Pool fragmentation

Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !
-----Original Message-----
From: Goulet, Dick []
Sent: Tuesday, January 13, 2004 1:20 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: Shared Pool fragmentation

On a side note, before I kill myself with the Friendly Manual, does anyone have a fast way to determine how much space in the shared pool a package is using?

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-----Original Message-----
From: Rick Stephenson []
Sent: Tuesday, January 13, 2004 12:34 PM
To: Multiple recipients of list ORACLE-L
Subject: Shared Pool fragmentation

Is there a way to catch shared_pool fragmentation before you get the 4031 errors?  I have looked at Steve Adams site which has scripts to show the free lists chunks in the shared pool.  At what point do I know that it is fragmented too much?  I know that I can prevent this by using bind variables, and keeping objects, but until I can modify all the apps, I would like to know a little before these errors happen.  Any ideas?




Rick Stephenson

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, forwarding or otherwise distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Please see the official ORACLE-L FAQ:
Author: Tanel Poder

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message
to: (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jan 13 2004 - 15:44:39 CST

Original text of this message