]> git.sur5r.net Git - openldap/blob - servers/slapd/DB_CONFIG
Sync with HEAD
[openldap] / servers / slapd / DB_CONFIG
1 # $OpenLDAP$
2 # Example DB_CONFIG file for use with slapd(8) BDB/HDB databases.
3 #
4 # See Sleepycat Berkeley DB documentation
5 #   <http://www.sleepycat.com/docs/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 # one 0.25 GB cache
14 set_cachesize 0 268435456 1
15
16 # Data Directory
17 #set_data_dir db
18
19 # Transaction Log settings
20 set_lg_regionmax 262144
21 set_lg_bsize 2097152
22 #set_lg_dir logs
23
24 # Note: special DB_CONFIG flags are no longer needed for "quick"
25 # slapadd(8) or slapindex(8) access (see their -q option).