2milion records to be inserted [message #50034] |
Mon, 25 February 2002 03:55 |
sriraj
Messages: 5 Registered: February 2002
|
Junior Member |
|
|
hi friends
we need to enter 2 milion records into a table1.we have script file that contains all insert statements to the table2.structure is same.my questions are
1.what is the shortest way to do this?
2.how much time it will take(assume 8 columns)?
3.if any problem comes during insertion,what to do?
give some suggestions.
sriraj
|
|
|
Re: 2milion records to be inserted [message #50035 is a reply to message #50034] |
Mon, 25 February 2002 04:07 |
Manu Gupta
Messages: 44 Registered: January 2002
|
Member |
|
|
Dear Sriraj,
If both the table are same then rather then running script file you drop the table1 and recreate the table with
CREATE TABLE TABLE1 AS SELECT.............
I feel this will do your job in shorter time.
I don't know how much time it will take. It totally depend on the system and oracle configuration.
Make sure that you have enough disk space before doing it.
|
|
|
|
|