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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: latch

Re: latch

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Tue, 29 Jul 2003 05:24:23 -0800
Message-ID: <F001.005C7A5A.20030729052423@fatcity.com>


Hi!

Shared pool latch protects memory allocation and de-allocation in shared pool. Thus probably you have a very volatile shared pool currently. You have several options, first of them would be to check whether you'r application is using bind variables. If it is mostly using literal values in SQL, then each sql call with different parameters has to be parsed and stored in library cache along with it's execution plan etc.. Maybe you have too *big* shared pool? I'm not sure about 9i, but in 8i you could have a lot of shared pool LRU scanning for recreatable chunks when loading/parsing in a new object.

If literal values in SQL are your case, then either change the app or use cursor_sharing = force parameter. Check www.ixora.com.au Q+A section under shared pool, there is more information about shared pool tuning.

Tanel.
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com> Sent: Monday, July 28, 2003 8:34 PM

> can someone please tell me what is shared pool
> latch(latch# 155) and how do we prevent this.
>
> i am facing this in 9i very frequently.
>
> thanks
> sai
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Sai Selvaganesan
> INET: ssaisundar_at_sbcglobal.net
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tanel Poder
  INET: tanel.poder.003_at_mail.ee

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Jul 29 2003 - 08:24:23 CDT

Original text of this message

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