Is it more CPU-efficient to read/write config file or read/write sqlite database?
rosuav at gmail.com
Mon Dec 16 00:50:16 CET 2013
On Mon, Dec 16, 2013 at 10:12 AM, Cameron Simpson <cs at zip.com.au> wrote:
> + traditionally, sqlite is extreme fsync() happy; forces a disc
> level flush on each commit - extremely slow on busy databases,
> not to mention hard of drives
I'd say that's correct behaviour. A commit should be sync'd to disk.
If you don't want it to go to the disk yet, don't commit yet!
More information about the Python-list