Good day.
We have a requirement to insert around 800000 records in to a custom table which now is taking about 30 + minutes with a simple insert statements. We will read the records from a file and create a .sql file with the simple insert statements. I believe there will be a effective way to insert records apart from the normal way.
I tried the below.
- /append/ …. It took more than what it used to take because of commit after every insert statement. So this is ruled out
- Insert ALL
Into c_table (X,X,X) values (‘ ‘,’ ‘,’ ‘,)
Into c_table (X,X,X) values (‘ ‘,’ ‘,’ ‘,) Into c_table (X,X,X) values (‘ ‘,’ ‘,’ ‘,) Select 1 from dual;
For a count of 1000 the option 2 is good but for bulk insert its again taking more than 30 min. If any other options please share.
Note: I cannot use sqloader or datapump as we don’t have the database password.
Regards, Prashanth