 |
|
Diving
Into the Shared Pool - An In Depth Look at Tuning the Shared Pool (Part 2)
Oracle Tips by Mike Ault |
In Summary
In this final installment of the shared pool
tuning article we have discussed ways to monitor for what objects
should be pinned, discussed multi-threaded server , looked at
hashing problems and their resolution as well as examined classic
library and data dictionary cache tuning. Including the guidelines
from last months article we have established 8 guidelines for tuning
the Oracle shared pool:
Guideline 1: If gross usage of the shared pool
in a non-ad-hoc environment exceeds 95% (rises to 95% or greater and
stays there) establish a shared pool size large enough to hold the
fixed size portions, pin reusable packages and procedures. Gradually
increase shared pool by 20% increments until usage drops below 90%
on the average.
Guideline 2: If the shared pool shows a mixed
ad-hoc and reuse environment, establish a shared pool size large
enough to hold the fixed size portions, pin reusable packages and
establish a comfort level above this required level of pool fill.
Establish a routine flush cycle to filter non-reusable code from the
pool.
Guideline 3: If the shared pool shows that no
reusable SQL is being used establish a shared pool large enough to
hold the fixed size portions plus a few megabytes (usually not more
than 40) and allow the shared pool modified least recently used (LRU)
algorithm to manage the pool. (also see guideline 8)
Guideline 4: Determine usage patterns of
packages, procedures, functions and cursors and pin those that are
frequently used.
 |
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. |
 |
|