Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Buffer Hit Ratio
From one of my references, I found this sql to calculate the buffer hit
ratio :
select decode(name,'physical reads',value)/ (decode(name,'consistent
gets',value) + decode(name,'db block gets',value) ) as hit_ratio
from v$sysstat
where name in ('physical reads','consistent gets','db block gets') ;
But when I try to run this sql, no value appears for the hit ratio.
If I query v$sysstat the values do exist individually for the three parameters.
Any clue what is going wrong ?
Thanks in advance Received on Tue Jun 08 1999 - 22:33:24 CDT