in reply to Re: Fork a new process for inserting a record in DB (Oracle)in thread Fork a new process for inserting a record in DB (Oracle)
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.
Alex / talexb / Toronto
Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (391 votes). Check out past polls.