Find Dictionary cache hit ratio in Oracle

Find Dictionary cache hit ratio in Oracle

A cache hit ratio should be more than 95 percent considered good in Oracle.
When we start the database its first time load all the data dictionary cache. so that time you will get the value less.
Note:
If value is getting less than 95% then probably we need to increase the size of the SHARED_POOL_SIZE parameter.

Find the dictionary Cache hit ratio

select sum(gets) as "Gets", sum(getmisses) as "Misses", (1-(sum(getmisses)/sum(gets)))*100 as "CACHE HIT RATIO"
from gv$rowcache;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.