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: ebuddelm <ebuddelm_at_gmail.com>
Date: 11 Oct 2006 10:44:19 -0700
Message-ID: <1160588659.209364.215650@m7g2000cwm.googlegroups.com>


I seem to remember that gather_schema_stats does a compute statistics if you give it no further directions. Or auto_sample_size which may amount to the same when there are not much statistics already present. Of course it is all depending on hardware and parameter settings but almost 8 minutes for 7 million rows seems a bit long for any serious hardware.
You can always trace the gather with statspack to see if there are any serious wait problems.

Regards,
Eric.
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 ?
Received on Wed Oct 11 2006 - 12:44:19 CDT

Original text of this message

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