http://www.perlmonks.org?node_id=1061585


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.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

  • Comment on Re^3: Fork a new process for inserting a record in DB (Oracle)