Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Suggestions Needed: Latch free - library cache

RE: Suggestions Needed: Latch free - library cache

From: John Kanagaraj <>
Date: Wed, 07 Jan 2004 16:34:33 -0800
Message-ID: <>


This is a very cursory answer... If this is the 'library cache' latch, then there *should* be a number of entries in V$LATCH_CHILDREN. Are the figures therein skewed in some way among the child latches? If so, you *may* have an issue where a particular application or SQL is not using bind variables. A look at V$SQL will reveal a lot. I would look at applications without bind variables. Also, you may look for any Object stats (ANALZYE) that has spilled over and is currently running during the daytime (overly zealous DBA starts off ANALYZE because 'performance is bad'!) - this will invalidate SQLs resulting in parsing (and thus latching).

John Kanagaraj
DB Soft Inc
Phone: 408-970-7002 (W)

Listen to great, commercial-free christian music 24x7x365 at

** The opinions and facts contained in this message are entirely mine and do not reflect those of my employer or customers **

-----Original Message-----
From: Tracy Rahmlow []
Sent: Wednesday, January 07, 2004 2:40 PM
To: Multiple recipients of list ORACLE-L
Subject: Suggestions Needed: Latch free - library cache

We have experienced intermittent problems (slow response time) with our oltp database today.  There appears to be a large number of latch free events and the p2 parameter is indicating an issue with the library cache.  Any thoughts on where to go next?

American Express made the following
annotations on 01/07/2004 03:36:25 PM

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."



Please see the official ORACLE-L FAQ:
Author: John Kanagaraj

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 Wed Jan 07 2004 - 18:34:33 CST

Original text of this message