Wow. That's a completely brutal way of doing it. Think of how much work is involved in setting up a database connection, doing one insert, and then tearing down that connection.
A better way might be to split the data into 20 chunks, and then pass each of the chunks to a separate process.
In reply to Re^3: Fork a new process for inserting a record in DB (Oracle)
by talexb
in thread Fork a new process for inserting a record in DB (Oracle)
by juvenile_monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |