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: negative value for buffer cache hit ratio

RE: negative value for buffer cache hit ratio

From: Christian Trassens <ctrassens_at_yahoo.com>
Date: Tue, 07 Aug 2001 10:39:17 -0700
Message-ID: <F001.00363154.20010807105326@fatcity.com>

1.- Go to this link of Steve Adam's site:

http://www.ixora.com.au/scripts/cache.htm

You gonna find a script to estimate the miss rate of the buffer cache based on the assumptions that certain operations are not well compute by statistics as direct path operations.

2.- From 8.X you should rely on
v$buffer_pool_statistics from the script $ORACLE_HOME/rdbms/admin/catperf.sql accounting on the several pools you could have.

3.- Remember that even on 8.X, when the database has been opened for a long time and have had a lot of transactions, the value of statistics gets so big that reaches the maximum value and then begins from 0 again. This usually happens with 7.X.

Regards.
--- "Deshpande, Kirti" <kirti.deshpande_at_verizon.com> wrote:
> Andrey,
> I am not into cache hit ratios, but got curious
> about your negative value.
>
> So I casually searched Metalink for 'negative value
> for hit ratio'. And got
> a hit on 'MROC: I am receiving a negative Buffer
> Cache hit ratio' thread.
> You may want to check it out, there seems to be a
> new formula for hit ratio
> computation in 8i/9i.
>
> HTH,
>
> Regards,
>
> - Kirti Deshpande
> Verizon Information Services
> http://www.superpages.com
>
> > -----Original Message-----
> > From: Andrey Bronfin
> [SMTP:andreyb_at_elrontelesoft.com]
> > Sent: Tuesday, August 07, 2001 12:51 PM
> > To: Multiple recipients of list ORACLE-L
> > Subject: negative value for buffer cache hit ratio
>
> >
> >
> > Dear gurus !
> > I have a negative value for buffer cache hit ratio
> in my DB which is up
> > for
> > some 4 months .
> > Any ideas why ?
> > Thanks in advance.
> >
> > SQL> SELECT (1 - (SUM(DECODE(a.name,'physical
> reads',value,0)) /
> > 2 (SUM(DECODE(a.name,'consistent
> gets',value,0)) +
> > 3 SUM(DECODE(a.name,'db block
> gets',value,0))))) * 100 "buffer cache
> > hit
> > ratio"
> > 4 FROM v$sysstat a;
> >
> > buffer cache hit ratio
> > ----------------------
> > -52.99284
> >
> > --
> > Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> > --
> > Author: Andrey Bronfin
> > INET: andreyb_at_elrontelesoft.com
> >
> > 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: 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.com
> --
> Author: Deshpande, Kirti
> INET: kirti.deshpande_at_verizon.com
>
> 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: 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).


Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Christian Trassens
  INET: ctrassens_at_yahoo.com

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: 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 Aug 07 2001 - 12:39:17 CDT

Original text of this message

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