Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Two different explain plans for same query
Morning Francois,
the default on exp is to estimate stats, and the default on imp is to execute analyze statements in the dump file.
I suspect you have not collected stats on the live system, while the test side is being estimated whenever you do an import. This gives the cost based optimser stats to work with, so it figures out a better execution plan.
HTH
Regards,
Norman.
Tel: 0113 289 6265 Fax: 0113 289 3146 URL: http://www.Lynx-FS.comReceived on Wed Apr 23 2003 - 05:27:52 CDT
-------------------------------------