|
select 1 - (phy.value - lob.value - dir.value) / ses.value "Cache Hit Ratio"
from v$sysstat ses, v$sysstat lob, v$sysstat dir, v$sysstat phy
where ses.name='session logical reads'
and dir.name='physical reads direct'
and lob.name= 'physical reads direct (lob)'
and phy.name='physical reads'
/
select name,physical_reads,db_block_gets,consistent_gets,
1-(physical_reads / (db_block_gets + consistent_gets)) "HITS"
from v$buffer_pool_statistics
/
°á°ú°ªÀº 90%ÀÌ»ó À̾î¾ß ÇÔ
90%ÀÌÇϸé DB_CACHE_SIZE °ªÀ» ´Ã·ÁÁØ´Ù.
|