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: joel garry <joel-garry_at_home.com>
Date: 10 Oct 2006 16:05:13 -0700
Message-ID: <1160521513.089529.36790@i3g2000cwc.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 ?

Yes. You might consider making it longer with cascade=>true so your indices get it. You shouldn't be doing it during heavy production times.

The old ANALYSE didn't do as much.

jg

--
@home.com is bogus.
Does Yahoo do you?  http://yro.slashdot.org/yro/06/10/10/2042248.shtml
Received on Tue Oct 10 2006 - 18:05:13 CDT

Original text of this message

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