summaryrefslogtreecommitdiff
path: root/source4/setup/DB_CONFIG
blob: f94bf0868b306c4aa1b41b50c82166a6c91e5778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# set 32MiB, single-segment cache
set_cachesize   0      33554432        1

# set transaction log autoremoval; disable if you use them for backups
set_flags DB_LOG_AUTOREMOVE

# these should be left at default for most installs
set_lg_max              10485760
set_lg_bsize            2097152

set_lg_dir              ${LDAPDBDIR}/bdb-logs

# tmp_dir stuff is not used by OpenLDAP
#set_tmp_dir             ${LDAPDBDIR}/tmp