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

RE: Paged results flakey - and hdb vs bdb



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Armbrust, Daniel
C.

> I would still be interested in seeing some info that
> explained when I would want to use hdb instead of bdb,
> however.  I can't seem to find much about hdb.

back-hdb and back-bdb share a majority of their code. The main advantage of
using back-hdb is that it is a true hierarchical structure on-disk, and so it
supports subtree rename. It also has a more efficient disk storage format for
the DN2ID mapping, which improves write concurrency when
adding/deleting/renaming entries. The drawback is that it does some subtree
searches slowly when you don't use a large enough IDL cache. When you have
enough IDL cache configured, back-hdb is generally a bit faster than
back-bdb.

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