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_CONFIG17
1 files changed, 17 insertions, 0 deletions
diff --git a/source4/setup/DB_CONFIG b/source4/setup/DB_CONFIG
new file mode 100644
index 0000000000..b4d2bfa868
--- /dev/null
+++ b/source4/setup/DB_CONFIG
@@ -0,0 +1,17 @@
+#
+# Set the database in memory cache size.
+#
+set_cachesize 0 524288 0
+
+#
+# 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