Oracle Version 7 saw the introduction of an additional EXPORT parameter STATISTICS=
The default however is STATISTICS=ESTIMATE so if you leave this line out of your export parameter file you will generate statistics on import. This cannot be overridden on import.
For some reason the command appears to have changed from ANALYZE= to STATISTICS= so check which one is in force for your version of Oracle by running the following at the command line.
Given that the cost based optimiser appeared not work as expected ( 7.0, 7.1 releases ) I found setting the optimiser to RULE based optimisation and using STATISTICS = NONE for the export solved the problem. Setting rule based optimisation is achieved by adding the following line in the initSID.ora file. ( Don't forget to restart the database using the new initSID.ora )
However: Whilst the Oracle Financials release 10.4 manual ( part number A12999-5 August 1994 ) recommends setting optimisation to RULE when setting up a Financials instance, the manual also indicates that "some" Oracle Applications SQL statements contain optimisation hints and as such the you should run $AD_TOP/sql/ADXANLYZ.sql in order to analyze the applications tables and indexes.
Thus in order to speed up imports add the line STATISTICS=NONE to the export parameter file prior to exporting the database. and as required run ADXANLYZ.sql at a later time. This should speed up your import process.
Exit to : Oracle
Hints and Tips