From: Howard Chu Date: Fri, 1 Apr 2005 11:50:37 +0000 (+0000) Subject: Add dbconfig directive for creating/writing the DB_CONFIG file X-Git-Tag: OPENLDAP_AC_BP~1018 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c808575c1204d66e995b986aa767e7e4360da7cd;p=openldap Add dbconfig directive for creating/writing the DB_CONFIG file --- diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index e59660a858..b91614f166 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -54,6 +54,27 @@ the argument is non-zero, an internal task will run every minutes to perform the checkpoint. See the Berkeley DB reference guide for more details. .TP +.B dbconfig +Specify a configuration directive to be placed in the +.B DB_CONFIG +file of the database directory. The +.B dbconfig +directive is just a convenience +to allow all necessary configuration to be set in the +.B slapd.conf +file. +The options set using this directive will only be written to the DB_CONFIG +file if no such file existed at server startup time. This allows one +to set initial values without overwriting/destroying a DB_CONFIG file +that was already customized through other means. This directive may +be specified multiple times, as needed. For example +.RS +.nf + dbconfig set_cachesize 0 1048576 0 + dbconfig set_lg_bsize 2097152 +.fi +.RE +.TP .B dbnosync Specify that on-disk database contents should not be immediately synchronized with in memory changes.