Oracle缓冲区命中率查询脚本

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

Oracle缓冲区命中率查询脚本

Oracle缓冲区命中率查询脚本

select ((1-( ( sum(decode(name, 'physical reads',value,0) ) - ( sum(decode(name, 'physical reads direct',value,0) ) + sum(decode(name, 'physical reads direct (lob)',value,0) ) ) )/(sum(decode(name, 'db block gets',value,0)) +sum(decode(name,'consistent gets',value,0)) -( sum(decode(name, 'physical reads direct',value,0) ) + sum(decode(name, 'physical reads direct (lob)',value,0) ) )))) * 100) Hit_Ratio from v$sysstat

合格条件:>=90

Oracle缓冲区命中率查询脚本

Oracle缓冲区命中率查询脚本select ((1-( ( sum(decode(name, 'physical reads',value,0) ) - ( sum(decode(name, 'physical re...
点击下载文档
分享:
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息