From 0e60469735c4dab98be39ab628615628a23ca486 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 14 Mar 2005 18:03:42 +0000 Subject: [PATCH] Import slapd-hdb(5) --- doc/man/man5/slapd-bdb.5 | 16 +++++++++++----- doc/man/man5/slapd-bdb.5.links | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 doc/man/man5/slapd-bdb.5.links diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index c8beade253..d94b3564f9 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 @@ -77,7 +81,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 -- 2.39.5