Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: severe lib cache contention !!

Re: severe lib cache contention !!

From: Christian Trassens <ctrassens_at_yahoo.com>
Date: Sun, 29 Jul 2001 11:22:50 -0700
Message-ID: <F001.003587A7.20010729110521@fatcity.com>

I don't remember the answers you received. However I suggest you to reduce the shared_pool_size to a minimum size possible. Set the
shared_pool_reserved_size if you have PL code. Put the STANDARD package in keep with the
dbms_shared_pool.keep. Set also _kgl_bucket_count to a value like 4 or 3 depending on the size of shared pool. And also put in the init.ora the
_sqlexec_progression_count=0. Read the notes of metalink about it. And set a cron with a sql script that verify the amount of free memory from v$sgastat and the # of library cache latches. If it isn't appeared to be any free memory or library cache latch contention is high, trigger the script to issue an alter system flush shared_pool. Set the cron in a period of minutes. Another recomendation try with public synonyms if you have a lot of objets. Better would be if the application could use alter session set current_schema. However the most worthiest of all suggestions, would be to look at the sql running. They shouldn't take longer to accomplish their results or to finish. I mean the longer it takes the transaction the most probable for your to see contention in this latch and also in the cache buffer chains latch.

Regards.


Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Christian Trassens
  INET: ctrassens_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Jul 29 2001 - 13:22:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US