From: Howard Chu Date: Tue, 15 Feb 2005 23:44:32 +0000 (+0000) Subject: Add back-hdb description X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~174 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=993649b4e04d2d68d0eb1c99d59284b553be35a5;p=openldap Add back-hdb description --- diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index d43be03ea5..e59660a858 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -3,7 +3,7 @@ .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" $OpenLDAP$ .SH NAME -slapd-bdb \- BDB backend to slapd +slapd-bdb, slapd-hdb \- BDB backends to slapd .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION @@ -15,6 +15,10 @@ it properly. It uses the Sleepycat Berkeley DB (BDB) package to store data. It makes extensive use of indexing and caching to speed data access. .LP +"hdb" is a variant of the BDB backend that uses a hierarchical database +layout which supports subtree renames. It is otherwise identical to +the "bdb" behavior, and all the same configuration options apply. +.LP It is noted that these options are intended to complement Berkeley DB configuration options set in the environment's .B DB_CONFIG @@ -28,14 +32,14 @@ take precedence. These .B slapd.conf options apply to the BDB backend database. -That is, they must follow a "database bdb" line and come before any -subsequent "backend" or "database" lines. +That is, they must follow a "database bdb" or "database hdb" line and +come before any subsequent "backend" or "database" lines. Other database options are described in the .BR slapd.conf (5) manual page. .TP .B cachesize -Specify the size in entries of the in-memory cache maintained +Specify the size in entries of the in-memory entry cache maintained by the BDB backend database instance. The default is 1000 entries. .TP @@ -76,7 +80,9 @@ will return a different result. .B idlcachesize Specify the size of the in-memory index cache, in index slots. The default is zero. A larger value will speed up frequent searches of -indexed entries. +indexed entries. An hdb database needs a large idlcachesize +for good search performance, typically three times the entry cache size +or larger. .TP .B index {|default} [pres,eq,approx,sub,] diff --git a/doc/man/man5/slapd-bdb.5.links b/doc/man/man5/slapd-bdb.5.links new file mode 100644 index 0000000000..3bc8c408f1 --- /dev/null +++ b/doc/man/man5/slapd-bdb.5.links @@ -0,0 +1 @@ +slapd-hdb.5