BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development

Remote DBA

 

Remote DBA Plans
Remote DBA Service

 
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 
 

Diving Into the Shared Pool - An In Depth Look at Tuning the Shared Pool (Part 2)

Oracle Tips by Mike Ault


Monitoring Library and Data Dictionary Caches

 

Date: 11/21/98                                              Page:   1

Time: 02:51 PM             Library Caches Report            SYSTEM

                              ORTEST1 database

 

Library Object        Gets Get Hit%       Pins Pin Hit% Reloads Invalid

--------------- ---------- -------- ---------- -------- ------- -------

SQL AREA            46,044    99.17     99,139    99.36      24      16

TABLE/PROCEDURE      1,824    84.59      6,935    93.21       3       0

BODY                   166    93.98        171    91.23       0       0

TRIGGER                  0   100.00          0   100.00       0       0

INDEX                   27      .00         27      .00       0       0

CLUSTER                373    98.12        373    97.59       0       0

OBJECT                   0   100.00          0   100.00       0       0

PIPE                     0   100.00          0   100.00       0       0

 

Figure 10: Example Of The Output From Library Caches Report

 

The data dictionary caches used to be individually tunable through several initialization parameters, now they are internally controlled. The script in Figure 11 should be used to monitor the overall hit ratio for the data dictionary caches.

 

rem

rem title:    ddcache.sql

rem FUNCTION: report on the v$rowcache table

rem HISTORY:  created sept 1995 MRA

rem

start title80 "DD Cache Hit Ratio"

spool rep_out\&db\ddcache

SELECT (SUM(getmisses)/SUM(gets)) RATIO

FROM V$ROWCACHE

/

spool off

pause Press enter to continue

ttitle off

 

Figure 11: Script to Monitor the Data Dictionary Caches
 


For more information on this topic, I recommend Don Burleson's latest book "Oracle Tuning: The Definitive Reference". 

You can buy it direct from the publisher for 50%-off and get instant access to the code depot of Oracle tuning scripts:

http://www.rampant-books.com/book_1002_oracle_tuning_definitive_reference_2nd_ed.htm


Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call
BC Remote DBA today.

 

 

Remote DBA Service
 

Oracle Tuning Book

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

Remote DBA Services

 

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter