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: <Srini.Chavali_at_Cummins.com>
Date: Tue, 07 Aug 2001 11:42:07 -0700
Message-ID: <F001.0036330F.20010807114711@fatcity.com>

Kirti, Audrey,
I was under the impression that negative numbers are caused by the numbers wrapping around i.e., the database has been up for a while and the statistics pile up and eventually exceed the defined format (e.g. value of 1000+ for a format of 9(3) - to use old COBOL representation !). Makes sense ?
I have seen his before. If you bounce the database, all will be well ! Srini Chavali
Oracle DBA
Cummins Inc

"Deshpande, Kirti" <kirti.deshpande_at_verizon.com>@fatcity.com on 08/07/2001 01:13:52 PM

Please respond to ORACLE-L_at_fatcity.com

Sent by: root_at_fatcity.com

To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc:

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,

> -----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).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Srini.Chavali_at_Cummins.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 - 13:42:07 CDT

Original text of this message

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