by http://webgeektutorials.blogspot.com

Thursday, June 28, 2012

Oracle DBA script: Display hit ratio on Dictionary Cache

Increase Shared pool size to reach a 90% hit ratio on Dictionary Cache. Entries for dc_table_grants, d_user_grants, and dc_users should be under 5% each in the MISS RATE % column

Code: 
select
parameter,gets,Getmisses ,
getmisses/(gets+getmisses)*100 "miss ratio",
(1-(sum(getmisses)/ (sum(gets)+sum(getmisses))))*100 "Hit ratio"
from v$rowcache
where gets+getmisses <>0
group by parameter, gets, getmisses ;

1 comment:

Moindigital said...

Your blog gives a practical view of Java as a career path. Institutes that offer real-time projects, Spring Boot training, and interview practice help students transition smoothly into developer roles. Quality training directly influences job readiness.
best java training institute in hyderabad

Post a Comment