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: dbms_stats.gather_schema_stats

Re: dbms_stats.gather_schema_stats

From: <fitzjarrell_at_cox.net>
Date: 10 Oct 2006 09:34:51 -0700
Message-ID: <1160498091.074579.58040@h48g2000cwc.googlegroups.com>

klabu wrote:
> I have 15 tables, about 7 mil rows in total
>
> SQL> exec dbms_stats.gather_schema_stats(user);
>
> Executed in 469.305 seconds
>
> Is it "normal" that dbms_stats.gather_schema_stats takes that long ?

Define 'normal' in that context. You're computing statistics on an entire schema, not simply a single table. The dbms_stats.gather_schema_stats procedure does not 'fold time and space' to provide instantaneous response.

David Fitzjarrell Received on Tue Oct 10 2006 - 11:34:51 CDT

Original text of this message

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