Updated SQLite LocalStatus patch (CAUTION)

Rob Browning rlb at defaultvalue.org
Sat Nov 20 18:08:35 GMT 2010

Rob Browning <rlb at defaultvalue.org> writes:

> This patch is intended to switch offlineimap to use an SQLite db for
> the LocalStatus information.  Among other things, that prevents
> offlineimap from rewriting the entire status file for every delivery.
> For some directories here, the rewrite causes 3MB of IO for each
> message.

One other thing I forgot to mention is that this patch is also likely to
bring down the CPU use dramatically.  Earlier testing suggested that
reading/writing the lines of the LocalStatus file was pegging the CPU
during transfers.

Hope this helps
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

More information about the OfflineIMAP-project mailing list