in reply to Fork a new process for inserting a record in DB (Oracle)
Does each fork create it's own database connection ?
How do you insert the records? one at a time or in batches? If you're looking for speed it's usually best to batch your inserts into one transaction. So turn autocommit off and handle them yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fork a new process for inserting a record in DB (Oracle)
by Anonymous Monk on Nov 07, 2013 at 14:19 UTC | |
by talexb (Chancellor) on Nov 07, 2013 at 14:25 UTC |