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: query performance

Re: query performance

From: Ron Reidy <ron_at_indra.com>
Date: Wed, 10 Oct 2001 20:37:45 -0600
Message-ID: <3BC505F9.FAF58626@indra.com>


Ban Spam wrote:
>
> "Jim Poe" <jpoe_at_fulcrumit.com> wrote in
> news:9q2imj$7bj_at_dispatch.concentric.net:
>
> > Hi,
> >
> > I did an explain plan for each database.
> >
> > Test Devl
> > Cost 379431 7048
> > Card 359135 4969
> > Bytes 181363175 5371489
> >
> >
> > Why would there be such a substantial difference between the two
> > databases?
> >
> > --
> > Jim Poe (jpoe_at_fulcrumit.com)
> >
> >
>
> Given the fact that you get a COST in both plans,
> it appears that you are using the CBO. Therefore
> try ANALYZE TABLE _____ COMPUTE STATISTICS;
> against all the table involved on the TEST instance.
> Then re-run the query.
>
> It might be helpful if you posted the WHOLE explain
> plans from both & not just the summary.
Also, dont' forget to analyze the indexes and the indexed columns.

-- 
Ron Reidy
Oracle DBA
Reidy Consulting, L.L.C.
Received on Wed Oct 10 2001 - 21:37:45 CDT

Original text of this message

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