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: Portable DBA: Oracle

RE: Portable DBA: Oracle

From: Jesse, Rich <Rich.Jesse_at_quadtechworld.com>
Date: Thu, 9 Dec 2004 09:44:25 -0600
Message-ID: <FBE1FCA40ECAD41180400050DA2BC54004E93FB8@qtiexch2.qgraph.com>


Without looking, doesn't estimate_percent >50 cause a compute? I remember it did on ANALYZE, but I don't remember with DBMS_STATS... Rich

-----Original Message-----
Sent: Thursday, December 09, 2004 9:26 AM Subject: Re: Portable DBA: Oracle

Freeman Robert - IL wrote:
> Thanks Dwayne! Hope you like it!
>
> It's funny.... after I finally get a copy of a new book in my hands, I
> always see something I missed. For example, it just irks me that in my
> example of the use of dbms_stats.gather_table_stats that I don't include
> cascade=>TRUE in the example.
>

Don't feel too bad about this one. IMHO, cascade=>FALSE (the default) is the right choice, especially if you use estimate_percent of less than 100%. Then follow with an explicit gather_index_stats with a full compute. And any histograms also with a full compute.

--
Regards

Wolfgang Breitling



--
http://www.freelists.org/webpage/oracle-l
Received on Thu Dec 09 2004 - 09:39:25 CST

Original text of this message

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