1 .TH SLAPD-LDBM 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 1998-2007 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapd-ldbm \- LDBM backend to slapd
12 is an easy\-to\-configure but obsolete database backend. It does not
13 offer the data durability features of the BDB and HDB backends and
14 hence is considered deprecated in favor of these robust backends.
15 LDBM uses lightweight non\-transactional data interfaces, such as those
16 provided by GDBM or Berkeley DB, to store data. It makes extensive
17 use of indexing and caching to speed data access.
21 options apply to the LDBM backend database.
22 That is, they must follow a "database ldbm" line and come before any
23 subsequent "backend" or "database" lines.
24 Other database options are described in the
28 .B cachesize <integer>
29 Specify the size in entries of the in-memory cache maintained
30 by the LDBM backend database instance.
31 The default is 1000 entries.
33 .B dbcachesize <integer>
34 Specify the size in bytes of the in-memory cache associated with each
36 If not supported by the underlying database method, this option is
37 ignored without comment.
38 The default is 100000 bytes.
41 Specify that no database locking should be performed.
42 Enabling this option may improve performance at the expense of data security.
43 Do NOT run any slap tools while slapd is running.
46 Specify that on-disk database contents should not be immediately
47 synchronized with in memory changes.
48 Enabling this option may improve performance at the expense of data
51 .B dbsync <frequency> <maxdelays> <delayinterval>
52 Flush dirty database buffers to disk every
57 (ie. individual updates are no longer written to disk).
58 It attempts to avoid syncs during periods of peak activity by waiting
60 seconds if the server is busy, repeating this delay up to
62 times before proceeding.
63 It is an attempt to provide higher write performance with some amount
65 Note that it may still be possible to get an inconsistent database if
66 the underlying engine fills its cache and writes out individual pages
67 and slapd crashes or is killed before the next sync.
71 are optional and default to
75 respectively, giving a total elapsed delay of 60 seconds before a sync
82 .B directory <directory>
83 Specify the directory where the LDBM files containing this database and
84 associated indexes live.
85 A separate directory must be specified for each database.
87 .BR LOCALSTATEDIR/openldap-data .
90 index {<attrlist>|default} [pres,eq,approx,sub,<special>]
91 Specify the indexes to maintain for the given attribute (or
93 Some attributes only support a subset of indexes.
94 If only an <attr> is given, the indices specified for \fBdefault\fR
96 Note that setting a default does not imply that all attributes will be
97 indexed. Also, for best performance, an
99 index should always be configured for the
103 A number of special index parameters may be specified.
106 can be decomposed into
115 may be specified to disallow use of this index by subtypes with tagging
116 options (such as language options).
119 may be specified to disallow use of this index by named subtypes.
120 Note: changing index settings requires rebuilding indices, see
124 Specify the file protection mode that newly created database
125 index files should have.
130 backend honors access control semantics as indicated in
131 .BR slapd.access (5).
135 default slapd configuration file