X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman5%2Fslapd-ldbm.5;h=2bc3227917ba991135cc486de03c5f7d486ae690;hb=1adee08e8912c1f47c7b170fe62bebdd9797921f;hp=3aea63bb6cc87e987c88158c35a002724222a337;hpb=135672c91032ea90fb2897beb02972905ce36932;p=openldap diff --git a/doc/man/man5/slapd-ldbm.5 b/doc/man/man5/slapd-ldbm.5 index 3aea63bb6c..2bc3227917 100644 --- a/doc/man/man5/slapd-ldbm.5 +++ b/doc/man/man5/slapd-ldbm.5 @@ -1,140 +1,20 @@ .TH SLAPD-LDBM 5 "RELEASEDATE" "OpenLDAP LDVERSION" -.\" Copyright 1998-2005 The OpenLDAP Foundation All Rights Reserved. +.\" Copyright 1998-2010 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" $OpenLDAP$ .SH NAME -slapd-ldbm \- LDBM backend to slapd +slapd\-ldbm \- Discontinued LDBM backend to slapd .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION -The LDBM backend to -.BR slapd (8) -is the database backend which is easiest to configure. -However, it does not offer the data durability features of the BDB -backend. -It uses Berkeley DB or GDBM to store data. -It makes extensive use of indexing and caching to speed data access. -.SH CONFIGURATION -These -.B slapd.conf -options apply to the LDBM backend database. -That is, they must follow a "database ldbm" 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 -by the LDBM backend database instance. -The default is 1000 entries. -.TP -.B dbcachesize -Specify the size in bytes of the in-memory cache associated with each -open index file. -If not supported by the underlying database method, this option is -ignored without comment. -The default is 100000 bytes. -.TP -.B dbnolocking -Specify that no database locking should be performed. -Enabling this option may improve performance at the expense of data security. -Do NOT run any slap tools while slapd is running. -.TP -.B dbnosync -Specify that on-disk database contents should not be immediately -synchronized with in memory changes. -Enabling this option may improve performance at the expense of data -security. -.TP -.B dbsync -Flush dirty database buffers to disk every -.B -seconds. -Implies -.B dbnosync -(ie. individual updates are no longer written to disk). -It attempts to avoid syncs during periods of peak activity by waiting -.B -seconds if the server is busy, repeating this delay up to -.B -times before proceeding. -It is an attempt to provide higher write performance with some amount -of data security. -Note that it may still be possible to get an inconsistent database if -the underlying engine fills its cache and writes out individual pages -and slapd crashes or is killed before the next sync. -.B -and -.B -are optional and default to -.B 12 -and -.B 5 -respectively, giving a total elapsed delay of 60 seconds before a sync -will occur. -.B -may be zero, and -.B -must be 1 or greater. -.TP -.B directory -Specify the directory where the LDBM files containing this database and -associated indexes live. -A separate directory must be specified for each database. -The default is -.BR LOCALSTATEDIR/openldap-data . -.TP -.B -index {|default} [pres,eq,approx,sub,] -Specify the indexes to maintain for the given attribute (or -list of attributes). -Some attributes only support a subset of indexes. -If only an is given, the indices specified for \fBdefault\fR -are maintained. -Note that setting a default does not imply that all attributes will be -indexed. Also, for best performance, an -.B eq -index should always be configured for the -.B objectClass -attribute. +LDBM was the original database backend to +.BR slapd (8), +and was supported up to OpenLDAP 2.3. +It has been superseded by the more robust BDB and HDB backends. -A number of special index parameters may be specified. -The index type -.B sub -can be decomposed into -.BR subinitial , -.BR subany ,\ and -.B subfinal -indices. -The special type -.B notags -(or -.BR nolang ) -may be specified to disallow use of this index by subtypes with tagging -options (such as language options). -The special type -.B nosubtypes -may be specified to disallow use of this index by named subtypes. -Note: changing index settings requires rebuilding indices, see -.BR slapindex (8). -.TP -.B mode -Specify the file protection mode that newly created database -index files should have. -The default is 0600. -.SH ACCESS CONTROL -The -.B ldbm -backend honors access control semantics as indicated in -.BR slapd.access (5). -.SH FILES -.TP -ETCDIR/slapd.conf -default slapd configuration file .SH SEE ALSO -.BR slapd.conf (5), .BR slapd (8), -.BR slapadd (8), -.BR slapcat (8), -.BR slapindex (8). +.BR slapd\-bdb (5), +.BR slapd.backends (5). +.SH ACKNOWLEDGEMENTS +.so ../Project