in reply to Re^2: 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.
|
---|
In Section
Seekers of Perl Wisdom