ITPub博客

首页 > 数据库 > Oracle > Buffer Cache Hit Ratio Is Not Everything

Buffer Cache Hit Ratio Is Not Everything

原创 Oracle 作者:myxylovedba 时间:2013-08-11 18:40:06 0 删除 编辑

Buffer Cache Hit Ratio Is Not Everything

[@more@]

For example, suppose two applications (A and B) return the same result set. Application A
has a cache hit ratio of 99%, whereas Application B has a hit ratio of 60 %. Which
application has the best performance? On further investigation you notice that Application
A requires 100,000 logical reads and 1,000 physical reads, whereas Application B has 100
logical reads and 40 physical reads. Which application is better tuned now? With the
additional information, the answer is B. There is clearly something wrong with
Application A, when it does so many logical reads to return a small result set.

从上面的example来看,官方给出的buffer cache命中率只不过是调优数据库性能的一部分,而不是全部。

多年的DBA工作经验告诉我,的确如此。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28227905/viewspace-1060837/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: SQL Tuning Advisor
请登录后发表评论 登录
全部评论
  • 博文量
    65
  • 访问量
    344015