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

Performance of MDB and BDB Please suggest?



 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