# $OpenLDAP$
# Example DB_CONFIG file for use with slapd(8) BDB/HDB databases.
#
-# See Sleepycat Berkeley DB documentation
-# <http://www.sleepycat.com/docs/ref/env/db_config.html>
+# See the Oracle Berkeley DB documentation
+# <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html>
# for detail description of DB_CONFIG syntax and semantics.
#
# Hints can also be found in the OpenLDAP Software FAQ
# <http://www.openldap.org/faq/index.cgi?file=2>
+# in particular:
+# <http://www.openldap.org/faq/index.cgi?file=1075>
+
+# Note: most DB_CONFIG settings will take effect only upon rebuilding
+# the DB environment.
# one 0.25 GB cache
set_cachesize 0 268435456 1
set_lg_bsize 2097152
#set_lg_dir logs
-# When using (and only when using) slapadd(8) or slapindex(8),
-# the following flags may be useful:
-#set_flags DB_TXN_NOSYNC
-#set_flags DB_TXN_NOT_DURABLE
+# Note: special DB_CONFIG flags are no longer needed for "quick"
+# slapadd(8) or slapindex(8) access (see their -q option).