oracle 10G 数据缓冲区命中率很低
操作系统:HP UX 和 AIX
数据库版本:10.2.0.5.0
查看数据缓冲区命中率(操作系统是AIX):
select 1 - ((physical.value - direct.value - lobs.value) / logical.value)
"Buffer Cache Hit Ratio"
from v$sysstat physical,v$sysstat direct,v$sysstat lobs,v$sysstat logical
where physical.name = 'physical reads'
and direct.name='physical reads direct'
and lobs.name='physical reads direct (lob)'
and logical.name='session logical reads';
结果:
Buffer Cache Hit Ratio
----------------------
.86705029449
另外HP UX上面的数据库的数据缓冲命中率还不到73% 求教大神如何调节数据缓冲区命中率
------解决方案--------------------加大DB_CACHE_SIZE的值
把常用表改成cache
加大内存。。