From 5da0f14530b689f509d3a8d5f4d0f72fd2514431 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 15 Oct 2008 07:58:48 +0000 Subject: [PATCH] Add dbpagesize keyword for configuring DB file page sizes --- doc/man/man5/slapd-bdb.5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index 6bce8f0040..3ba1cf459c 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -111,6 +111,18 @@ Enabling this option may improve performance at the expense of data security. See the Berkeley DB reference guide for more details. .TP +\fBdbpagesize \fR \fI \fR +Specify the page size to use for a particular database file, in units +of 1024 bytes. The default for the +.B id2entry +file is 16, the default for +all other files is 4. The maximum that BerkeleyDB supports is 64. This +setting usually should not need to be changed, but if BerkeleyDB's +"db_stat -d" shows a large amount of overflow pages in use in a file, +setting a larger size may increase performance at the expense of +data integrity. This setting only takes effect when a database is +being newly created. See the Berkeley DB reference guide for more details. +.TP .BI directory \ Specify the directory where the BDB files containing this database and associated indexes live. -- 2.39.5