[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: How to improve performance with MDB backend?



----------------------------------------
> Date: Thu, 18 Apr 2013 10:13:10 -0700
> From: quanah@zimbra.com
> To: ctcard@hotmail.com; openldap-technical@openldap.org
> Subject: RE: How to improve performance with MDB backend?
>
> --On Thursday, April 18, 2013 4:57 PM +0000 Chris Card <ctcard@hotmail.com>
> wrote:
>
> > I'm using openldap 2.4.35.
> >
> > olcDbMaxSize: 429496729600
> > and that's the size of the file on the disk too:
> >
> > -rw------- 1 ldap ldap 429496729600 Apr 18 16:52 data.mdb
> > -rw------- 1 ldap ldap 8192 Apr 18 17:52 lock.mdb
>
> What's the *actual* size of the mdb db? Remember it is a sparse file.
>
> <https://wiki.zimbra.com/wiki/OpenLDAP_Performance_Tuning_8.0#Notes_on_MDB>
>
> I routinely test with DBs in the range of 3 million to 6 million entries,
> and it is always substantially faster than bdb/hdb.
>
du -c -h data.mdb returns 16G

Chris