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

Oracle Consulting Oracle Training Development
Remote DBA  
Remote DBA Plans  
Oracle Home
Oracle Training
SQL Tuning Consulting
Oracle Tuning Consulting
Data Warehouse Consulting
Oracle Project Management
Oracle Security Assessment
Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Oracle Monitoring
Remote Support Benefits
Remote 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

What to Pin
 

The output from the script in Figure 2 is shown in Figure 3. Notice the objects with high executions.

 

Date: 11/20/98                                                                                                Page:   1
Time: 09:59 AM      Oracle Objects Report                      AULTM

                         AGCD database

 

       Name            Object         Object                         Shared

Schema Space           Type           Name                           Memory     LOADS Executes LOCKS PINS Kept

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

SYS    BODY            PACKAGE BODY   DBMS_EXPORT_EXTENSION           6,957         1    1,338         1         0 NO

                                      DBMS_SQL                       11,016         1       50         1         0 NO

                                      DBMS_SYS_SQL                   21,428         1       50         1         0 NO

                                      DBMS_DEFER_IMPORT_INTERNAL      4,070         1       50         1         0 NO

                                      STANDARD                       26,796         1       50         1         0 NO

                                      DBMS_APPLICATION_INFO           4,585         1        8         1         0 NO

                                      DBMS_OUTPUT                     8,799         1        1         1         0 NO

       TABLE/PROCEDURE PACKAGE        DBMS_EXPORT_EXTENSION          12,269         1    1,355         1         0 NO

                                      DBMS_DEFER_IMPORT_INTERNAL     10,662         1       51         1         0 NO

                                      DBMS_SQL                        6,960         1       50         1         0 NO

                                      STANDARD                      118,556         1       50         1         0 NO

                                      DBMS_SYS_SQL                    7,472         1       50         1         0 NO

                                      DBMS_APPLICATION_INFO          11,569         1        9         1         0 NO

                                      DBMS_OUTPUT                    13,391         1        1         1         0 NO

 

Figure 3: Example Output From the Script In Figure 2.

 

Unfortunately in my active instance I already have the objects pinned that are required, but the example report in Figure 3 taken from one of my less active instances still shows the concept. Note that you only have to pin the package, not the package and package body.

 

Guideline 4: Determine usage patterns of packages, procedures, functions and cursors and pin those that are frequently used.

SEE CODE DEPOT FOR FULL SCRIPTS


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 -  2010 by Burleson Enterprises, Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter