Undocument backend options which overlap DB_CONFIG options.

DB_CONFIG should generally be used instead.
This commit is contained in:
Kurt Zeilenga 2004-06-17 22:51:27 +00:00
parent 05b60e6b1e
commit 08c405257b

View File

@ -18,12 +18,12 @@ It makes extensive use of indexing and caching to speed data access.
It is noted that these options are intended to complement It is noted that these options are intended to complement
Berkeley DB configuration options set in the environment's Berkeley DB configuration options set in the environment's
.B DB_CONFIG .B DB_CONFIG
file. See Berkeley DB documentation for file. See Berkeley DB documentation for details on
details on
.B DB_CONFIG .B DB_CONFIG
configuration options. Where there is overlap, settings in configuration options.
.B DB_CONFIG .\" Where there is overlap, settings in
take precedence. .\" .B DB_CONFIG
.\" take precedence.
.SH CONFIGURATION .SH CONFIGURATION
These These
.B slapd.conf .B slapd.conf
@ -38,21 +38,23 @@ manual page.
Specify the size in entries of the in-memory cache maintained Specify the size in entries of the in-memory cache maintained
by the BDB backend database instance. by the BDB backend database instance.
The default is 1000 entries. The default is 1000 entries.
.TP .\" .TP
.B checkpoint <kbyte> <min> .\" Undocumented option, should use DB_CONFIG instead
Specify the frequency for checkpointing the database transaction log. .\" .B checkpoint <kbyte> <min>
A checkpoint operation flushes the database buffers to disk and writes .\" Specify the frequency for checkpointing the database transaction log.
a checkpoint record in the log. .\" A checkpoint operation flushes the database buffers to disk and writes
The checkpoint will occur if either <kbyte> data has been written or .\" a checkpoint record in the log.
<min> minutes have passed since the last checkpoint. .\" The checkpoint will occur if either <kbyte> data has been written or
Both arguments default to zero, in which case they are ignored. .\" <min> minutes have passed since the last checkpoint.
See the Berkeley DB reference guide for more details. .\" Both arguments default to zero, in which case they are ignored.
.TP .\" See the Berkeley DB reference guide for more details.
.B dbnosync .\" .TP
Specify that on-disk database contents should not be immediately .\" Undocumented option, should use DB_CONFIG instead
synchronized with in memory changes. .\" .B dbnosync
Enabling this option may improve performance at the expense of data .\" Specify that on-disk database contents should not be immediately
security. .\" synchronized with in memory changes.
.\" Enabling this option may improve performance at the expense of data
.\" security.
.TP .TP
.B directory <directory> .B directory <directory>
Specify the directory where the BDB files containing this database and Specify the directory where the BDB files containing this database and
@ -124,12 +126,13 @@ allocations can have a major negative impact on server performance,
but specifying too much stack will also consume a great deal of memory. but specifying too much stack will also consume a great deal of memory.
Each search stack uses 512K bytes per level. The default stack depth Each search stack uses 512K bytes per level. The default stack depth
is 16, thus 8MB per thread is used. is 16, thus 8MB per thread is used.
.TP .\" .TP
.B shm_key <integer> .\" Undocumented option, should use DB_CONFIG instead
Specify a key for a shared memory BDB environment. By default the .\" .B shm_key <integer>
BDB environment uses memory mapped files. If a non-zero value is .\" Specify a key for a shared memory BDB environment. By default the
specified, it will be used as the key to identify a shared memory .\" BDB environment uses memory mapped files. If a non-zero value is
region that will house the environment. .\" specified, it will be used as the key to identify a shared memory
.\" region that will house the environment.
.TP .TP
.B sessionlog <sid> <limit> .B sessionlog <sid> <limit>
Specify a session log store for the syncrepl replication provider Specify a session log store for the syncrepl replication provider