Hi,
I am working on Open-Ldap for one of my application and I was testing to find out which DB is FAST MDB or BDB for ldapsearch.
Tested both the DB’s on same platform for .6 Million records.
Configuration Done for
BDB (openldap2.4.24)
MDB (openldap2.4.32)
Slapd.conf
database hdb
threads 32
Slapd.conf
database mdb
threads 32
maxsize 2147483648
DB_CONFIG
set_cachesize 2 0 1
To test the same developed a java tool to send a bulk search request on Open Ldap for both the DB’s.
Pumping the load for 400,500,1000,2000,2500 etc.. search request to openldap.
*The outcome was BDB was almost 8 time faster than MDB. *
To my surprise it was written that for search MDB is faster than BDB. Please suggest if I have done some wrong configuration in MDB..
BR's, Haroon
--On Friday, August 24, 2012 10:23 AM +0530 aryan rawat aryanrawat24@gmail.com wrote:
Hi,
I am working on Open-Ldap for one of my application and I was testing to find out which DB is FAST MDB or BDB for ldapsearch.
If you want to use something as inaccurate as Java for performance testing, I suggest you look at using slamd, rather than whatever you wrote. It at least gives some meaningful data.
--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
Le 24/08/2012 06:53, aryan rawat a écrit :
*The outcome was BDB was almost 8 time faster than MDB. *
For two different versions of OpenLDAP, meaning also two different builds. How can you conclude anything from this kind of settings ?
Hi Gillaume,
I am agree with you still the difference is too much that was the only concern for me.
BR's, Haroon
On Fri, Aug 24, 2012 at 1:27 PM, Guillaume Rousse guillomovitch@gmail.comwrote:
Le 24/08/2012 06:53, aryan rawat a écrit :
*The outcome was BDB was almost 8 time faster than MDB. *
For two different versions of OpenLDAP, meaning also two different builds. How can you conclude anything from this kind of settings ?
-- BOFH excuse #340:
Well fix that in the next (upgrade, update, patch release, service pack).
openldap-technical@openldap.org