Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ANALYZE_DATABASE - Query ...

Re: ANALYZE_DATABASE - Query ...

From: Mark D Powell <mark.powell_at_eds.com>
Date: 17 Jul 2002 11:19:00 -0700
Message-ID: <178d2795.0207171019.228b7957@posting.google.com>


"Telemachus" <telemachus_at_ulysseswillreturn.net> wrote in message news:<u%eZ8.2786$zX3.2308_at_news.indigo.ie>...
> The following text puzzled me .
>
>
>
> it's 9.2 supplied package reference DBMS_UTILITY section
>
>
>
> ANALYZE_DATABASE Procedure
>
> This procedure runs the ANALYZE command on all the tables, clusters, and
> indexes
>
> in a database. Use this procedure to collect nonoptimizer statistics. For
> optimizer
>
> statistics, use the DBMS_STATS.GATHER_DATABASE_STATS procedure.
>
> Q : What's a nonoptimizer statistic ?

Chained rows are calculated by analyze but not dbms_stats as the CBO does not consider chained rows in it determination of the best plan. The Performance and Tuning manual (ver 8i) chapter on Gathering Statistics lists number of rows, number of block, empty blocks, and average row length as being collected.

HTH -- Mark D Powell -- Received on Wed Jul 17 2002 - 13:19:00 CDT

Original text of this message

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