[Dovecot] dbox support state

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Fri Dec 22 07:14:37 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 21 Dec 2006, Timo Sirainen wrote:

> One optimization left for it would be to not store flags and keywords to
> the dbox files at all, but keep everything in index files. Once I get
> that implemented, I'll start benchmarking it. Of course the problem with
> that is that it relies on index files completely then.

IMHO this is not good for disaster recovery and makes life needlessly hard 
in such case. Esp. when both files become out-of-sync, you need a cunning 
tool to re-construct any good state, rather than a simple "REINDEX". This 
should apply to each kind of "index" file. Also, consider upgrades to 
newer index file formats etc.pp.

Are there really that many writes of message attributes? I mean, there is 
only an improvement because you have just one write into the indexes 
rather than two, one to the indexes and one into the message.
You've wrote that you reserve space for the flags in mbox, in case they 
get updated, so you reduce the probability to rewrite the whole mbox for 
each flag. Doing so should apply to dbox as well?

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRYuF4S9SORjhbDpvAQJGRgf/eaPv8j+oZkep2zOmODI/qiPqexL+AXn4
Qs89REpzxhMTr64q4qDmaZcXzjTQrlkp1qxYC8htkP/Ol58w1SeC4vgCtFXQ18UX
8e6h5y1OEEPfMatf+BTUe8CfDwV0ALYGmRvhR1RRB4o6yV37R442aoDaHa/8sd4K
ZexCJWS2PGTqEZsro4crxJ0As+UiqtanpAYFM0YduwgJ8PXS9oawAMuGviB6qL7+
RTggBSzmpVMdb07FdYFBTmSZO9c9H1KJ7iiRXaN3iapnw/JbxJHgrsWeIUf0OgBk
fKaTwa4UppeUQv4f7QbqmNn2u3+ovXD35Dal+RUccS5dOg2lW74hqA==
=BFHK
-----END PGP SIGNATURE-----


More information about the dovecot mailing list