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 -> Re: Read Hit Ratio Question- Suggestions Welcome.

Re: Read Hit Ratio Question- Suggestions Welcome.

From: Pete Sharman <psharman_at_us.oracle.com>
Date: Thu, 05 Aug 1999 09:25:39 -0700
Message-ID: <37A9BB03.5584DC45@us.oracle.com>


Tapan

One possibility is that the value of the column has gone past it's maximum, and it's wrapping. Due to the binary arithmetic being done, you'll see negative values when this occurs.

HTH. Pete

Tapan Trivedi wrote:

> Hey Gurus,
> I am doing this query to find out the Read Hit ratios on a Baseline
> system (upon which further development will be done) .
>
> select 1-(sum(decode(name, 'physical reads', value,0))/
> (sum(decode(name, 'db block gets', value,0)) +
> (sum(decode(name, 'consistent gets', value,0))))) * 100
> "Read Hit Ratio"
> from v$sysstat;
>
> I am getting very weird results on about four systems on which I have
> run the queries . I am getting NEGATIVE, yes, NEGATIVE results. What
> does this mean ?
>
> I am getting values like
> -.047
> -18.99
> -2.31
> -.69 etc.
>
> What does this mean ?
>
> Tapan

--
Regards

Pete


Received on Thu Aug 05 1999 - 11:25:39 CDT

Original text of this message

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