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: After table analyzed query runs 8 hours longer

Re: After table analyzed query runs 8 hours longer

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Mon, 20 Sep 2004 18:32:52 -0700
Message-ID: <1095730444.18891@yasure>


Daniel Roy wrote:

> From what I see, your slow-running query accesses multiple tables, but
> you say that you calculated stats for ONE table. Be consistent and
> analyze the stats for ALL the tables involved. Please post at least
> the query.
>
> Daniel

And, in addition, do not use DBMS_UTLITY procedures ... you should be using DBMS_STATS.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Mon Sep 20 2004 - 20:32:52 CDT

Original text of this message

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