Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-04031 and shared pool

Re: ORA-04031 and shared pool

From: Sean Fitzgerald <sfitzgerald_at_centurytel.net>
Date: 29 Aug 2001 07:20:45 -0700
Message-ID: <605a2fd5.0108290620.6b591c71@posting.google.com>


Things are aged of the shared pool. In fact, by the time you get the 4031, oracle has already done everything it can to flush out the pool.  Problem is, the free memory is fragmented and you are getting the 4031 because a contiguous chunk of memory can't be found in the size you need.

The view v$shared_pool_reserved will show you the size of the object that last failed.

You need to look at "keeping" large and/or frequently used objects (typically procedures) in the shared pool. Having them move in and out causes fragmentation.

You are also on the right track to use bind variables. Received on Wed Aug 29 2001 - 09:20:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US