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: Cache buffer chains (kslbegin)

Re: Cache buffer chains (kslbegin)

From: Anand Rao <panandrao_at_gmail.com>
Date: Tue, 25 Apr 2006 11:42:56 +0530
Message-ID: <d70710370604242312h3273cb9ja17634238ead5ed2@mail.gmail.com>


Stephen,

what version of Oracle are you using? there are a couple of bugs related to CBC latches, especially 1 crucial bug in 9204 (Bug 3611471). This is fixed in 10.2 core code but there are fixes in version 9205 and above.

just looking at your latch stats in the post, it doesn't look like you have CBC latch issue. as Mark mentioned, it should help you if you look at the 'buffer busy waits' issue and if you have any hot blocks (*Note 163424.1)*

kcbgtcr is the routine that begins the search for buffers in CR mode to satisfy your request. the search in the hash chain is done using a child latch in exclusive mode.

well, usually you don't need to dig this deep but latch sleeps at this level usually indicate heavy logical IO, 'hot blocks' type of problems.

To check for hot blocks, try this query:

select name, addr, sleeps from v$latch_children where name like 'cache buffers%'
and sleeps > 100000; -- Use an appropriate number

select obj,tch, file#, dbablk from x$bh where hladdr in hextoraw('<value of ADDR>') order by tch asc;

cheers
anand

On 25/04/06, Joseph Amalraj <joseph_at_amalrajinc.com> wrote:
>
> You can also query v$segment_statistics for the object(s) with highest
> "buffer busy waits"
>
> Joseph Amalraj
>
> 2006/4/24, Stephen Anderson :
>
> >
> > Hello,
> > I have a 10 minute statspack report from a busy time period, and have
> seen
> > that buffer busy waits were the highest wait events. Would I be correct
> to
> > then look at the Latch Miss Source at the largest sleeps? I have the
> > following information there:
>
> --
> Best regards,
> Alex Gorbachev
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Apr 25 2006 - 01:12:56 CDT

Original text of this message

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