It depends of course. In the rare case that you actually need each row to be securely on disk before writing the next one, the original approach was correct, but flushing each row will take some time in SQL databases too. (Google for Transactions Per Minute.)
best, Jakob On May 30, 2012 at 7:28 AM Henrik Sarvell <[email protected]> wrote: > Use new and chunk it up: [snip] > > Above we create them in memory and write 1000 of them at a time. > -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
