Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: query performance
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