Re: Where does GC grab historical SQL plans from?

From: Rich Jesse <rjoralist2_at_society.servebeer.com>
Date: Tue, 17 May 2011 22:12:04 -0500 (CDT)
Message-ID: <5dcdd27e4f543cbdd73ac043a1e28740.squirrel_at_society.servebeer.com>



Hey again Wolfgang,

> The first thing I do, provided I work with DBAs who listen ( not always the
> case as a consultant ), is to turn off histogram collection in the
> dbms_stats defaults ( method_opt=>'for all columns size 1' ).
>
> There are several problems with the out-of-the-box default of 'for all
> columns size auto':
> ...
> the shared pool, etc. All that can be avoided if you turn "global"
> histograms off and only collect histograms for specific columns where it has
> been proven that they help.

As luck would have it, the upgrade to 11.2 is the perfect opportunity for me to do this, along with bitbucketing other unfortunate undesirables.

Putting this on my Upgrade List for testing.

Thanks again!
Rich

--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 17 2011 - 22:12:04 CDT

Original text of this message