Hi
I am rather new to this so appologies in advance.
What i need to now is how i calculate the buffer cache hit ratio with the following calculation.
Hit ratio = 1 - (physical reads / (db block gets + consistent gets))
the sql i ran is as followed :
Select name, value From v$sysstat
Where name in ('db block gets', 'consistent gets', 'physical reads');
O/P
NAME VALUE
--------------------------------------- ----------
db block gets 245246
consistent gets 13754331
physical reads 3426485
i tried but can not see how when i run a sql script that gives me the answer i get 76% hit ratio
Can any one explain the calculation to me
Regards
Simon
Simon Peter Wickham
Email: s.wickham@zoom.co.uk
I am rather new to this so appologies in advance.
What i need to now is how i calculate the buffer cache hit ratio with the following calculation.
Hit ratio = 1 - (physical reads / (db block gets + consistent gets))
the sql i ran is as followed :
Select name, value From v$sysstat
Where name in ('db block gets', 'consistent gets', 'physical reads');
O/P
NAME VALUE
--------------------------------------- ----------
db block gets 245246
consistent gets 13754331
physical reads 3426485
i tried but can not see how when i run a sql script that gives me the answer i get 76% hit ratio
Can any one explain the calculation to me
Regards
Simon
Simon Peter Wickham
Email: s.wickham@zoom.co.uk