Walter,
You got the order almost correct:
Create the Table
Import the Data
Apply Constraints (PK's, FK's, CK's)
Create Indexes
Create Triggers
Create Views
Create Stored Packages/Procedure/Functions
Not sure of the exact order of the last four items listed - these may be out
of order.
The biggest slowdown that you are seeing is creating and validating FK's.
If you have a lot of FK's, they take time.
You can monitor this by querying DD tables as the import is running - just
query the USER_OBJECTS table (or DBA_OBJECTS for the user your are
importing) - you can deduce what it is doing by what gets created when.
hope this helps.
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Wednesday, August 01, 2001 3:17 PM
To: Multiple recipients of list ORACLE-L
Hi,
What is the Import utility doing exactly after it says
the rows of a table have been imported? I thought the
order of events was create table, create indexes, load
data, move on to next table and at the end of
everything enable the constraints.
I am running an import of one schema's tables into
another and the import always hangs on one table for a
few minutes. The data volume is not big at all, only ~
100Mb, and the table in question only contains 210,000
rows. What puzzles me is that the "hang" occurs AFTER
Import says it imported all of the rows for the
particular table. Does anyone know what is really
taking place within the utility between tables being
imported? Are the number of rows listed actually
loaded at the point it says it has loaded them?
Any thoughts/ideas would be appreciated. Thanks!
-w
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Walter K
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mercadante, Thomas F
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).