Path: news.cambrium.nl!textnews.cambrium.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Date: Sat, 16 May 2009 00:22:02 +0200
From: Shakespeare <whatsin@xs4all.nl>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
Newsgroups: comp.databases.oracle.server
Subject: Re: dbms_shared_pool.keep
References: <gukbj0$e7s$1@solani.org> <4a0dbedc$0$195$e4fe514c@news.xs4all.nl> <4a0dc3c2$0$2851$ba620e4c@news.skynet.be>
In-Reply-To: <4a0dc3c2$0$2851$ba620e4c@news.skynet.be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 40
Message-ID: <4a0deb12$0$194$e4fe514c@news.xs4all.nl>
NNTP-Posting-Host: 82.95.215.210
X-Trace: 1242426130 news.xs4all.nl 194 [::ffff:82.95.215.210]:49675
X-Complaints-To: abuse@xs4all.nl
Xref:  news.cambrium.nl

Matthias Hoys schreef:
> "Shakespeare" <whatsin@xs4all.nl> wrote in message 
> news:4a0dbedc$0$195$e4fe514c@news.xs4all.nl...
>> Mladen Gogala schreef:
>>> Today, I noticed a performance problem on one of my databases. Statspack 
>>> was showing quite a few of library cache waits. Most of the waiting 
>>> sessions were trying to execute the same procedure and the problem was 
>>> alleviated to significant degree by pinning the the package that contains
>>> the offending procedure, as well as all of the other PL/SQL objects 
>>> belonging to FLOWS_03000. Trouble is, I distinctly remember rading an 
>>> article claiming that using DBMS_SHARED_POOL.KEEP is not good, that it 
>>> is, in fact, obsolete. I can't
>>> locate the article so I will ask anyone who thinks that I shouldn't have
>>> done what I did, to explain me why? In other words, am I missing 
>>> something
>>> or not? I have sufficient free memory, no danger of 4031 in the near 
>>> future.
>>>
>>>
>>>
>> AFAIK, pinning those packages is a well known way to speed up APEX.
>>
>> IIWIW
>>
>> Shakespeare
> 
> I also remember "something" about DBMS_SHARED_POOL.KEEP being of no more use 
> for 10g.
> I didn't know this was a known trick to speed up APEX, although I can't 
> remember reading about this on the OTN forum. Something to try out next 
> week.
> 
> Matthias
> 
> 

See for example
http://beyondoracle.wordpress.com/2008/07/16/speed-up-execution-of-apex-packages-pinning/

Shakespeare
