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: Oracle statistics

Re: Oracle statistics

From: Teresa <tpreto7_at_sapo.pt>
Date: 11 Sep 2002 18:29:27 -0700
Message-ID: <6dabc692.0209111729.116fb2fd@posting.google.com>

"
> >> We have a saying where I work. "its all completely barking". The process you
> have outlined above qualifies. I just can't begin to imagine what benefit
> this is supposed to bring. If you could find out what problem this is
> solving I'm sure a far less drastic and taxing solution could be found.
>
> > is like a export import of the database, I just don't understand what
> > update STATITISCS does, why to do we have to do this all the time,
> > where does it store this infomartion, the statistics takes a long time
> > to run which is not acceptable (7 hours at times)
> > Do you have any other suggestions
>
> Well don't do the drop and recreate and you'll need to collect stats far
> less frequently for a start. If you can't change the procedure (and you
> should) then consider collecting stats on a sample of rows (using the
> estimate clause). it takes less time (but collects less accurate stats
> increasing the CBO's chance of producing a poor execution plan). The trade
> off is less collection time vs possibly impaired performance
>
>
> Did I mention you shouldn't do the drop and recreate at all? I don't think
> the stats are your problem your procedure is.
>
> --
> Niall Litchfield
> Oracle DBA
> Audit Commission UK
> *****************************************
>
Received on Wed Sep 11 2002 - 20:29:27 CDT

Original text of this message

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