1# OpenLDAP: pkg/ldap/servers/slapd/DB_CONFIG,v 1.3.2.4 2007/12/18 11:53:27 ghenry Exp
2# Example DB_CONFIG file for use with slapd(8) BDB/HDB databases.
3#
4# See the Oracle Berkeley DB documentation
5#   <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html>
6# for detail description of DB_CONFIG syntax and semantics.
7#
8# Hints can also be found in the OpenLDAP Software FAQ
9#	<http://www.openldap.org/faq/index.cgi?file=2>
10# in particular:
11#   <http://www.openldap.org/faq/index.cgi?file=1075>
12
13# Note: most DB_CONFIG settings will take effect only upon rebuilding
14# the DB environment.
15
16# one 0.25 GB cache
17set_cachesize 0 268435456 1
18
19# Data Directory
20#set_data_dir db
21
22# Transaction Log settings
23set_lg_regionmax 262144
24set_lg_bsize 2097152
25#set_lg_dir logs
26
27# Note: special DB_CONFIG flags are no longer needed for "quick"
28# slapadd(8) or slapindex(8) access (see their -q option). 
29