查看 buffer cache 命中率
来源:互联网 发布:sql developer登录 编辑:程序博客网 时间:2024/05/17 23:10
SQL> select name,value from v$sysstat where name in('db block gets','consistent gets','physical reads');
NAME VALUE
---------------------------------------------------------------- ----------
db block gets 932
consistent gets 50535
physical reads 9145
命中率计算公式
Hit Radio=1-physical reads/(db block gets+consistent gets)
SQL> select (1-9145/(50535+932)) from dual;
(1-9145/(50535+932))
--------------------
.822313327
SQL> show parameter db_block_buffers
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_block_buffers integer 0
由于10G中引入了SGA自动管理,所以show parameter 查出来的db_block_buffers为 0
查看当前buffer cache size
SQL> select name ,bytes/1024/1024 Mb from v$sgainfo where name ='Buffer Cache Size';
NAME MB
-------------------------------- ----------
Buffer Cache Size 288 这个buffer cache size 指的是 default + keep +recycle 的和
SQL> select current_size from v$buffer_pool;
CURRENT_SIZE
------------
288 这里 我没有配置 keep pool ,也没有配置 recycle pool
如果一个长期运行的database 长期的 Hit Radio<90%,那么就应该考虑多分配点内存给buffer cache ,同时增加物理内存,或者SQL调优
理想的hit radio 应该在 95%以上
- 查看 buffer cache 命中率
- 查看 buffer cache 命中率
- 查看 buffer cache 命中率
- 查看 library cache 命中率
- 查看library cache 命中率
- 查看 library cache 命中率
- 查看 library cache 命中率
- Oracle 查看library cache 解析命中率
- OCP考题解析_043:buffer cache和命中率
- cache命中率
- Linux 查看内存(free buffer cache)
- Linux 查看内存(free buffer cache)
- Linux 查看内存(free buffer cache)
- data dictionary cache 命中率
- oracle libary cache 命中率
- v$buffer_pool_statistics(求buffer命中率)
- Buffer Cache
- buffer cache
- Quartus II 9.0正式版下载
- JSP中org.apache.jasper.JasperException
- 中国十大帅哥总裁是谁啊?
- MyEclipse生成hbm.xml文件
- 在网页中嵌入播放器,PDF,Word,Excel,PPT的方法
- 查看 buffer cache 命中率
- 让Ext.panel(包含formPanel)在屏幕上居中显示
- Ext formPanel如何获得焦点
- 动态添加gridView 并绑定数据
- GPU高性能运算之CUDA(china-pub 独家首发)
- 男人居家必备!
- tomcat 5.5 的The Apache Tomcat Native library which allows optimal performance 的解决
- jsp或用js获得服务器的IP地址
- 利用Oracle执行计划机制提高查询性能