Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: query performance
"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. Received on Wed Oct 10 2001 - 19:27:00 CDT