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 -> How to tune LIBRARY CACHE latch contention

How to tune LIBRARY CACHE latch contention

From: Dusan Bolek <spambin_at_seznam.cz>
Date: 25 Jan 2006 08:42:25 -0800
Message-ID: <1138207345.821463.244810@z14g2000cwz.googlegroups.com>


Hello,

the problem is that in waves we're encountering quite a lot of sessions waiting on latch wait event. The problematic latch is the library cache latch and our sufferer is a simple SQL statement.

The facts are:

  1. everything is happening in a wave pattern, each minute about twenty seconds of waiting (60+ sessions on latch wait) and forty seconds of working
  2. all queries are using BIND variables, the particular has only one expression in WHERE clause and this expression is properly BINDed
  3. during the last two hours, we had 2631562 parses (3425 hard parses) and 8034543 executions of SQL statements happened
  4. the problematic statement was issued 1.2 times per second
  5. the problem has started five days ago, but we were unable to find any change in the system that could cause this
  6. AIX 5.2 64bit, 9.2.0.6, connection pooling, about 100 concurrent DB calls
  7. during latch contention our CPUs were not stressed more than usual (not typical behaviour while encountering a latch problem)
  8. we're using synonym in this statement, but the same applies also for the rest of our statements and they are having no problem even the ones that are executed more frequently

I have looked through Metalink, but regarding library cache contention, there is no much information. Any ideas?

Thank you

--
Dusan Bolek
Received on Wed Jan 25 2006 - 10:42:25 CST

Original text of this message

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