From 510f57c8dd9c86cfc925b4dafcaf6f77edb86438 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 20 Apr 2002 08:12:03 +0000 Subject: [PATCH] ITS#1749 added BDB options --- doc/man/man5/slapd.conf.5 | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 86203c5bd3..b53ac5756f 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -859,6 +859,51 @@ If specified multiple times, each url is provided. Options in this category only apply to the BDB databases. That is, they must follow "database bdb" line and come before any subsequent "backend" or "database" lines. +.TP +.B cachesize +Specify the size in entries of the in-memory cache maintained +by the BDB backend database instance. The default is 1000 entries. +.TP +.B checkpoint +Specify the frequency for checkpointing the database transaction log. +A checkpoint operation flushes the database buffers to disk and writes +a checkpoint record in the log. The checkpoint will occur if either + data has been written or minutes have passed since the +last checkpoint. Both arguments default to zero, in which case they are ignored. +See the Berkeley DB reference guide for more details. +.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 directory +Specify the directory where the BDB 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 dirtyread +Allow reads of modified but not yet committed data. Usually transactions +are isolated to prevent other operations from accessing uncommitted data. +This option may improve performance, but may also return inconsistent +results if the data comes from a transaction that is later aborted. In +this case, the modified data is discarded and a subsequent search will +return a different result. +.TP +.B +index {|default} [pres,eq,approx,sub,] +See the description for LDBM. +.TP +.B lockdetect {oldest|youngest|fewest|random|default} +Specify which transaction to abort when a deadlock is detected. The +default is the same as +.BR random . +.TP +.B mode +Specify the file protection mode that newly created database +index files should have. The default is 0600. + .SH LDBM DATABASE-SPECIFIC OPTIONS Options in this category only apply to the LDBM databases. That is, they must follow "database ldbm" line and come before any subsequent -- 2.39.5