Paul , 

try joining the v$session with v$sqlarea to find
offending sql harassing the cache buffers chains.. 

here is a sample sql u could use .. 

select sql_text 
from v$sqlarea, v$session
where v$sqlarea.address= v$session.sql_address and 
v$sqlarea.hash_value = v$session.sql_hash_value
and sid='Your Sid From V$session wait for latch#66';

find the offending sql and tune it .. 

cache buffer chains latch means that your SQL is badly
written and is performing a considerably higher # of
LIO's .. explian plan the sql and see if you can use
indexes .. also analyze your table and indexes .. post
dump from v$session wait for wait=0 (waiting state) ..
so other list members an give you more suggestions

Deepak

--- "Gogala, Mladen" <[EMAIL PROTECTED]> wrote:
> Try v$latch_children
> 
> -----Original Message-----
> Sent: Monday, November 12, 2001 2:30 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> I have a puzzling problem:  a session is apparently
> waiting on a "cache
> buffers chains latch" forever (well, for 40 minutes
> and counting, so
> far); seq# in v$session_wait is static.  "tries" is
> 0.  
> 
> latch free                                          
>                   
> address                                             
>            
> C000000004708BC0
> number                                              
>                   
>  66
> tries  
>   0
> 00
> When examining the latch in question (using the
> address from
> v$session_wait.p1raw), I'm not seeing any change in
> the get, misses,
> etc. statistics.  It's as though a process has the
> latch and won't let
> go.  Any ideas from the list as to where I look
> next?
> 
> TIA,
> 
> Paul Baumgartel
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Paul Baumgartel
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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.com
> -- 
> Author: Gogala, Mladen
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deepak Thapliyal
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to