On Fri, Jul 11, 2014 at 05:45:30PM -0700, Arun wrote:

> I can understand that there ARE diferences?  I do not understand
> when to use which one.

It is conjectured that btree is perhaps better for random-access
read-write databases where Postfix maintains an update cursor for
cleanup of stale entries.  This may not be true, but it has certainly
worked well enough in practice, and following the herd is reasonably
sound in this case.

> For example I have heard about the LMDB format from the OpenLDAP
> project.? I hear that it is fast and lightweight and some persons
> say one of the best options.

LMDB in Postfix is new.  It may be a good replacement for Berkeley
DB, time will tell.

> smtpd_tls_session_cache_database = lmdb:/var/lib/postfix/smtpd_scache
> smtp_tls_session_cache_database = lmdb:/var/lib/postfix/smtp_scache
> 
> alias_maps = lmdb:/etc/aliases

If you're willing to be on the bleeding edge, you're free to test these.

-- 
        Viktor.

Reply via email to