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: More on dbms_stats

Re: More on dbms_stats

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Wed, 10 Aug 2005 23:19:01 +0000
Message-Id: <1123715941l.4673l.0l@medo.noip.com>

On 08/10/2005 05:48:23 PM, Mladen Gogala wrote:
> Wolfgang Breitling wrote:
>
> > It potentially, and likely, creates an awful lot of histograms exactly
> > BECAUSE the method_opt setting of 'for all columns size 1' is ignored
> > and replaced with 'for all columns size auto'.
> >
> I prefer skewed columns, that is the columns from SYS.COL_USAGE$.

As was gently and privately pointed out, I badly mixed things up yet again. The table SYS.COL_USAGE$ is used by 'FOR ALL COLUMNS SIZE AUTO' method while FOR ALL COLUMNS SIZE SKEWONLY computes histograms for all columns. I tried accusing the manuals, but they did a good job explaining that:

I must be growing old.

-- 
Mladen Gogala
http://www.mgogala.com


--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 10 2005 - 18:21:06 CDT

Original text of this message

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