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.)


On May 30, 2012 at 7:28 AM Henrik Sarvell <> wrote:

> Use new and chunk it up:


> Above we create them in memory and write 1000 of them at a time.

Reply via email to