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: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Wed, 10 Aug 2005 14:23:48 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C4502361424@NT15.oneneck.corp>


It wouldn't create any more histograms than any other method - Oracle creates histograms of size 1 for all columns by default.

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Mladen Gogala

>
>exec dbms_stats.gather_schema_stats(ownname=>'DATATEL',options=>'GATHER
>AUTO',degree=>8,cascade=>TRUE,method_opt=>'FOR ALL COLUMNS SIZE 1');
>
>

That would create an awful lot of histograms if method_opt was observed.. Fortunately, it is ignored with GATHER AUTO. Here is what the fine manual says:

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 10 2005 - 16:24:29 CDT

Original text of this message

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