ALL_ROWS and FIRST_ROWS have serious problems when
querying the data dictionary in all versions of Oracle from v7.x to v8.1.x (see
previous posting on 10-Aug, subject "Re: OPTIMIZER_MODE recommendation for
9.2"), documented in bug #564434. The situation is finally fixed in 9iR2,
and possibly in 9iR1. You can see some related discussions by
searching on keyword "ALL_ROWS" in MetaLink...
The EXP and IMP utilties need to query the data
dictionary in order to generate all of the SQL statements they use to do their
job. Having FIRST_ROWS (or ALL_ROWS) set for OPTIMIZER_MODE causes those
queries on your data dictionary in your export to run hundreds (perhaps
thousands) of times longer than normal. The actual SELECTs to export
the data probably don't change (much) during the export...
Set OPTIMIZER_MODE to CHOOSE.
|
- export with "first rows" Ed Lewis
- RE: export with "first rows" Khedr, Waleed
- RE: export with "first rows" Tim Gorman
- RE: export with "first rows" John Kanagaraj
- Re: export with "first rows" Nuno Pinto do Souto
- Re: export with "first rows" Connor McDonald
- RE: export with "first rows" Boivin, Patrice J