home personal profile software tech bits tutorials web development gnu/linux oracle
dba scripts oracle oracle technet oracle fans oracle faq
home oracle
Hit/Miss Ratios
Here are some scripts related to Hit/Miss Ratios .
Consistent Gets - The number of accesses made to the block buffer to retrieve data in a consistent
mode.
DB Blk Gets - The number of blocks accessed via single block gets (i.e. not through the consistent
get mechanism).
Physical Reads - The cumulative number of blocks read from disk.
Logical reads are the sum of consistent gets and db block gets.
The db block gets statistic value is incremented when a block is read for update and when segment
header blocks are accessed.
Hit Ratio should be > 80%, else increase DB_BLOCK_BUFFERS in init.ora
select sum(GETS),
sum(GETMISSES),
round((1 - (sum(GETMISSES) / sum(GETS))) * 100,2)
http://vsbabu.org/oracle/sect05.html 1/2
8/7/2017 Oracle :: Hit/Miss Ratios
from v$rowcache
Pins - The number of times a pin was requested for objects of this namespace.
Reloads - Any pin of an object that is not the first pin performed since the object handle was
created, and which requires loading the object from disk.
Executions - The number of times a pin was requested for objects of this namespace.
Cache Misses - Any pin of an object that is not the first pin performed since the object handle was
created, and which requires loading the object from disk.
Copyright 2002-2003 Vattekkat Satheesh Babu home | feedback | printer-friendly | search | sitemap | top
http://vsbabu.org/oracle/sect05.html 2/2