1 .TH SLAPD-LDBM 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapd-ldbm \- LDBM backend to slapd
12 is a database which uses one of BerkeleyDB, GNU DBM, MDBM or NDBM to
14 It makes extensive use of indexing and caching to speed data access.
18 options apply to the LDBM backend database.
19 That is, they must follow a "database ldbm" line and come before any
20 subsequent "backend" or "database" lines.
21 Other database options are described in the
25 .B cachesize <integer>
26 Specify the size in entries of the in-memory cache maintained
27 by the LDBM backend database instance.
28 The default is 1000 entries.
30 .B dbcachesize <integer>
31 Specify the size in bytes of the in-memory cache associated with each
33 If not supported by the underlying database method, this option is
34 ignored without comment.
35 The default is 100000 bytes.
38 Specify that no database locking should be performed.
39 Enabling this option may improve performance at the expense of data security.
40 Do NOT run any slap tools while slapd is running.
43 Specify that on-disk database contents should not be immediately
44 synchronized with in memory changes.
45 Enabling this option may improve performance at the expense of data
48 .B dbsync <frequency> <maxdelays> <delayinterval>
49 Flush dirty database buffers to disk every
54 (ie. indvidual updates are no longer written to disk).
55 It attempts to avoid syncs during periods of peak activity by waiting
57 seconds if the server is busy, repeating this delay up to
59 times before proceeding.
60 It is an attempt to provide higher write performance with some amount
62 Note that it may still be possible to get an inconsistent database if
63 the underlying engine fills its cache and writes out individual pages
64 and slapd crashes or is killed before the next sync.
68 are optional and default to
72 respectively, giving a total elapsed delay of 60 seconds before a sync
79 .B directory <directory>
80 Specify the directory where the LDBM files containing this database and
81 associated indexes live.
82 A separate directory must be specified for each database.
84 .BR LOCALSTATEDIR/openldap-data .
87 index {<attrlist>|default} [pres,eq,approx,sub,<special>]
88 Specify the indexes to maintain for the given attribute (or
90 Some attributes only support a subset of indexes.
91 If only an <attr> is given, the indices specified for \fBdefault\fR
93 Note that setting a default does not imply that all attributes will be
96 A number of special index parameters may be specified.
99 can be decomposed into
106 may be specified to disallow use of this index by language subtypes.
109 may be specified to disallow use of this index by named subtypes.
110 Note: changing index settings requires rebuilding indices, see
114 Specify the file protection mode that newly created database
115 index files should have.
120 default slapd configuration file