命中率
2020-11-30 21:27 EniNiemand 阅读(39) 评论(0) 编辑 收藏 举报SQL> select (1-(sum(decode(name, 'physical reads cache',value,0))/(sum(decode(name, 'db block gets from cache',value,0))+sum(decode (name,'consistent gets from cache',value,0))))) * 100 "Hit Ratio" from v$sysstat;