4.3 shared pool的统计信息
有关shared pool的最重要的统计信息就是parse count (total)和parse count (hard),parse count (total)表示解析的总次数,而parse count (hard)表示硬解析的次数,这个值应该越小越好。
对于dictionary cache来说,可以使用如下的统计信息来判断,如果miss-ratio大于0.02,则说明shared pool设置过小,需要增加shared pool。正文:http://www.qqread.com/oracle/2007/11/f379931.html进入讨论组讨论。
有关shared pool的最重要的统计信息就是parse count (total)和parse count (hard),parse count (total)表示解析的总次数,而parse count (hard)表示硬解析的次数,这个值应该越小越好。
SQL> select * from v$sysstat where name in ('parse count (total)','parse count (hard)'); STATISTIC# NAME CLASS VALUE ---------- ------------------ -------- ---------- 235 parse count (total) 64 4989 236 parse count (hard) 64 993 对于library cache来说,可以使用如下的统计信息来判断,如果reload-to-pins大于0.01,则说明shared pool设置过小,需要增加shared pool。 SQL> select sum(pins) "Executions", sum(reloads) "Cache Misses", 2 sum(reloads)/sum(pins) " reload-to-pins" from v$librarycache; Executions Cache Misses reload-to-pins ---------- ------------ --------------- 4458375 4159 0.0009328510948
对于dictionary cache来说,可以使用如下的统计信息来判断,如果miss-ratio大于0.02,则说明shared pool设置过小,需要增加shared pool。
SQL> select sum(gets) as gets,sum(getmisses) as misses, 2 sum(getmisses)/sum(gets) as miss_ratio from v$rowcache; GETS MISSES MISS_RATIO ---------- ---------- ---------- 4762783 15397 0.00323277
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- 用“kill”命令终止“Oracle”的过程 (0次浏览)
- 深入了解Oracle的最大可用性体系结构 (0次浏览)
- 基于SQL几个常用的几个系统表 (0次浏览)
- Oracle本周二将发布27个安全漏洞补丁 (0次浏览)
- 如何在Oracle数据库中屏蔽英文提示信息 (0次浏览)
- 数据库文件的加载和挂起 (0次浏览)
- 数据库技术:在不断的完善中继续前行 (0次浏览)
- 安装Oracle 9i遇到的两个问题 (0次浏览)
- TransactionScope中优先使用Oracle的.NET驱动 (0次浏览)
- 详细介绍手工创建oracle数据库 (0次浏览)



