[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: How to improve performance with MDB backend?
- To: "quanah@zimbra.com" <quanah@zimbra.com>, "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: RE: How to improve performance with MDB backend?
- From: Chris Card <ctcard@hotmail.com>
- Date: Thu, 18 Apr 2013 17:21:44 +0000
- Importance: Normal
- In-reply-to: <4DF17006F469E3905068ADF3@[192.168.1.26]>
- References: <CANk+c=3nULMFAPs=O0X3UjE0ODvY+NHS1cJJ5HU4gWL1244RTw@mail.gmail.com>, , , , , <5162AEAF.1000606@symas.com>, ,,<45D4EB8EBF550836F7A2A0D1@192.168.1.26>, , , ,,<CANk+c=3xV1kBOkthtU0tKi8dpomLouiVA1B1Li2v=8cesU0LOA@mail.gmail.com>, , , ,,<516C3451.5050207@stroeder.com>, , , , , <CANk+c=19yHjORwumEq81UbOqDdq3_1wPO8_nmEkE5oBEddB05w@mail.gmail.com>, , , , <BLU178-W87AB3305361B4C3345928CCCF0@phx.gbl>, , ,,<462E03D8E285FC197BC69AD5@[192.168.1.26]>, ,,<BLU178-W20CF6C02DE6E65A95DD27FCCCF0@phx.gbl>, , , <BC77D2142C458E0797EC69CF@[192.168.1.26]>, , <BLU178-W312C31B6648BAEA5DC7F90CCCF0@phx.gbl>, , <3DE9B522DDF6236ECC5EF26C@[192.168.1.26]>, <BLU178-W18FD756E2AEBE8D4852E00CCCF0@phx.gbl>, <4DF17006F469E3905068ADF3@[192.168.1.26]>
----------------------------------------
> 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