--On Friday, May 17, 2013 12:07 PM -0400 "David F. Skoll"
<d...@roaringpenguin.com> wrote:
On Fri, 17 May 2013 08:58:53 -0700
Quanah Gibson-Mount <qua...@zimbra.com> wrote:
Personally I wish SA supported LMDB.
We've had very good luck with CDB, Dan Bernstein's "constant database"
format. Reads are unbelievably fast.
The only downside to CDB is that you cannot update a CDB file. You need
to generate a new one from scratch. Still, even that is quick enough that
we use it.
Heh... well, with ldmb, you can update the DB too. ;) BerkeleyDB is
definitely showing its age and uselessness these days.
<http://mishikal.wordpress.com/2013/05/16/openldap-a-comparison-of-back-mdb-and-back-hdb-performance/>
shows an LMDB backend in OpenLDAP to be about 3 times faster than a BDB
backed DB in OpenLDAP. However, I would note that the primary limitation
right now for OpenLDAP read rates with back-mdb is the frontend slapd
server and not the underlying DB. I.e., the rate with mdb would be greater
if some contention in the frontend of OpenLDAP was fixed.
If you look at the microbenchmark Symas did, you can see that LMDB is at
least 7 times faster than BDB <http://symas.com/mdb/microbench/> when going
directly through the API.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration