To find out Library cache hit ratio
select sum(PINS-RELOADS)/sum(PINS)*100 "Library hit ratio"
from v$librarycache
Details Library Cache Hit Ratio
Query more details about the hit ratio from each library cache item.
SQL> SELECT namespace, gethitratio
FROM v$librarycache
WHERE gethitratio > 0
To find out Dictionary cache hit ratio
select sum(GETS-GETMISSES)/sum(GETS)*100 "dictionary cahe ration"
from v$rowcache;
To find out Buffer cache hit ratio
select (1-(PHYSICAL_READS/(DB_BLOCK_GETS+CONSISTENT_GETS)))*100 "Buffer cache hit ratio"
from v$buffer_pool_statistics;
Subscribe to:
Post Comments (Atom)
Troubleshooting ACFS-07981: Metadata Validation Errors
Troubleshooting ACFS-07981: Metadata Validation Errors Introduction The ACFS-07981 error indicates that an attempt to run an online file ...
-
ORA-00221 Error on write to controlfile Possible Causes and Solutions An error has occurred when trying to create the control file, or on su...
-
Mastering ORA-00054: Resolving the "Resource Busy" Error The ORA-00054 error, often accompanied by the message "resource b...
-
How to change password in Oracle Transportation Management(OTM) If you want to change other usernames/passwords, then the list expands be...
No comments:
Post a Comment