| |
* Cache Hit Ratio : 이것 역시 db startup 이후 어느정도 안정되게 사용한 후 계산해야 맞다.
SQL> select 1-(phy.value / (cur.value+con.value)) " Cache Hit Ratio"
2 from v$sysstat cur, v$sysstat con, v$sysstat phy
3 where cur.name = 'db block gets'
4 and con.name = 'consistent gets'
5 and phy.name = 'physical reads';
Cache Hit Ratio----------------
.95751146 > 90%
위에서 db block gets + consistent gets = logical gets 이므로
1-(physical gets / logical gets) 가 cache hit ratio이다.
|