=====================
BUFFER HIT RATIO
=====================
(should be > 70, else increase db_block_buffers in init.ora)
column "logical_reads" format 99,999,999,999
column "phys_reads" format 999,999,999
column "phy_writes" format 999,999,999
select a.value + b.value "logical reads",
c.value "phys reads",
d.value "phy writes",
round(100 * ((a.value+b.value-c.value) / (a.value+b.value)))
"BUFFER HIT RATIO"
from v$sysstat a, v$sysstat b, v$sysstat c, v$sysstat d
where
a.statistic# = 37
and
b.statistic# = 38
and
c.statistic# = 39
and
d.statistic# = 40;
<Output>
Hit Ratio Section
***************************************************************
=====================
BUFFER HIT RATIO
=====================
(should be > 70, else increase db_block_buffers in init.ora)
logical_reads phys_reads phy_writes BUFFER HIT RATIO
94,228,594 511,535 734,784 99
Check the data buffer hit ratio. If it is above 95%, you can re-claim memory by reducing the db_block_buffers’ init.ora parameter.
1) Check the data buffer hit ratio.
If it is better than 95%, you can re-claim by reducing the db_block_buffers' init.ora parameter.