A common cause is not using bind variables - you're
parsing goes through the roof as does your
fragmentation of the shared pool.
As a "quick fix", possibly look at pinning frequently
used cursors/procs/triggers etc, and flush the shared
pool periodically.
hth
connor
- Arn Klammer <Arn.Klammer_at_austrac.gov.au> wrote: >
Hi,
>
> Just recently, we have been frequently receiving
> errors like the following in our development
> database:
>
> ERROR:
> ORA-04031: unable to allocate 4096 bytes of shared
> memory ("shared pool","BEGIN
> DBMS_OUTPUT.DISABLE; E...","PL/SQL MPCODE","BAMIMA:
> Bam Buffer")
>
> The size of our shared pool is not too small (I
> think); it's larger than our test and maintenance
> databases, for example.
>
> shared_pool_reserved_size string 800000
> shared_pool_size string
> 16000000
>
> What could be causing this level of frequent
> fragmentation? We have been developing a new
> application in the database, but this has been
> ongoing for some months; the errors appeared only in
> the last week or so.
>
> What should I be looking for to solve this?
>
> Thanx for any advice.
>
> -arn
>
>
>
>
>
> This email and any files transmitted with it are
> confidential and
> intended solely for the use of the individual or
> entity to whom they
> are addressed. If you have received this email in
> error please notify
> the system manager.
>
> This footnote also confirms that this email message
> has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Arn Klammer
> INET: Arn.Klammer_at_austrac.gov.au
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (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).
Connor McDonald
http://www.oracledba.co.uk (mirrored at
http://www.oradba.freeserve.co.uk)
"Some days you're the pigeon, some days you're the statue"
Do You Yahoo!?
Get your free @yahoo.co.uk address at
http://mail.yahoo.co.uk
or your free @yahoo.ie address at
http://mail.yahoo.ie
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?Connor=20McDonald?=
INET: hamcdc_at_yahoo.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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 Fri Sep 21 2001 - 06:48:33 CDT