[Dovecot] Questions regarding dbox migration

Mikkel mikkel at euro123.dk
Thu Oct 15 00:04:14 EEST 2009


Timo Sirainen skrev:
  > The main difference is that mdbox needs to lock files when saving
> messages. That's not especially nice with NFS. Single-dbox currently
> locks index files, but it can be made entirely lockless eventually.
> There are also some other differences like:
> 
>  - in mdbox all messages exist in storage/ directory, while in dbox
> messages exist in separate mailbox directories
>  - mdbox has a separate storage/dovecot.map.index that needs to be
> updated
>  - in mdbox message can be copied by doing a couple of small appends to
> index files, while with dbox the file needs to be hard linked (and
> currently even that's not done)
> 

So basically you prefer mdbox but are maintaining dbox because of its 
almost lockless design which is better for NFS users?

Do you consider it to be viable having two different dbox formats or are 
you planning to keep only one of them in a long term perspective?


Regards, Mikkel


More information about the dovecot mailing list