Re: Library Cache and Share wait on Latch - Version Count Huge

From: Tanel Poder <tanel_at_poderc.com>
Date: Thu, 18 Mar 2010 08:43:58 +0800
Message-ID: <4602f23c1003171743ga748698v290cafecc33d3982_at_mail.gmail.com>



After setting method_opt to REPEAT you will also need to manually drop all the histograms, as they have been already created for you.

However I don't know your application/data, maybe you do need some histograms somewhere, so you need to review the histograms you have yourself and decide whether it's ok to get rid of them. If it's purely an OLTP system with bind variables used everywhere, its probably ok to get rid of all histograms as histograms and bind variables are a deadly combination anyway - for stable performance.

--
Tanel Poder
http://tech.e2sn.com

On Thu, Mar 18, 2010 at 8:38 AM, Mudhalvan Moovarkku <
moovarkku.mudhalvan_at_axa-direct.co.jp> wrote:


> Hi Tanel
>
> Thanks for your suggestion.
>
>
>
> I am very sorry due the bad application we will not be able to
> change SIMILAR to FORCE.
>
>
>
> So I have to clear the Histograms
>
>
>
> I this METHOD_OPT from AUTO to REPEAT will help me.
>
>
>
> I will check on the dbms_stats.get_param and change it to REPEAT if no
> impact.
>
>
>
-- http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 17 2010 - 19:43:58 CDT

Original text of this message