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

Re: BDB vs. HDB

Donn Cave wrote:

On Thursday, March 3, 2005, at 09:01 AM, Matthew J. Smith wrote:

Given a brand new OpenLDAP 2.2.23 installation, is there any reason to
continue to use BDB instead of HDB, or can I safely move everything to
HDB?  Do the Berkley 4.2.52+ db_* tools support HDB?  I recall a problem
with db_verify once upon a time...

One thing to test would be performance on queries with the search base different from the database suffix. If you see the problem I thought I was seeing, hdb will be an order of magnitude worse in this case. That was with an older version, 2.2.17 I think, and of course the usual caveats with respect to tuning parameters.

Tuning is of course essential, and hdb lives-n-dies on the IDLcache. Many subtree searches will be slower until the cache is prepped, but once you've loaded the cache it's fine.

 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support