summaryrefslogtreecommitdiff
path: root/source4/setup/DB_CONFIG
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/DB_CONFIG')
-rw-r--r--source4/setup/DB_CONFIG23
1 files changed, 23 insertions, 0 deletions
diff --git a/source4/setup/DB_CONFIG b/source4/setup/DB_CONFIG
index e69de29bb2..3198e17b14 100644
--- a/source4/setup/DB_CONFIG
+++ b/source4/setup/DB_CONFIG
@@ -0,0 +1,23 @@
+# Set the database in memory cache size.
+#
+set_cachesize 0 524288 0
+
+
+#
+# Set database flags (this is a test environment, we don't need to fsync()).
+#
+set_flags DB_TXN_NOSYNC
+
+#
+ Set log values.
+#
+set_lg_regionmax 104857
+set_lg_max 1048576
+set_lg_bsize 209715
+set_lg_dir ${LDAPDBDIR}/bdb-logs
+
+
+#
+# Set temporary file creation directory.
+#
+set_tmp_dir ${LDAPDBDIR}/tmp