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: Matthias Hoys <anti_at_spam.com>
Date: Tue, 10 Oct 2006 20:39:27 +0200
Message-ID: <452be8e0$0$31460$ba620e4c@news.skynet.be>

"klabu" <nosuchuser_at_gmail_dot_com> wrote in message news:12ini8ekve2oe88_at_corp.supernews.com...
>
> 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 ?
>
>

Depends on your hardware, number of columns, indexes, ...

So yes, it can take this long. But you don't need to execute it each day, only when there are significant data changes. Received on Tue Oct 10 2006 - 13:39:27 CDT

Original text of this message

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