On Thu, Apr 14, 2005 at 09:52:39PM -0700, Steve Langasek wrote: > > I loathe BDB for the times it takes for massive adds/modifies. > > Even with slapadd, which takes about 2 minutes to load the entire DB > > using ldbm as backend, but about 50 minutes with BDB. > > OpenLDAP 2.2 includes a '-q' option to slapadd that makes the load time much > quicker by disabling checks that are unnecessary while loading a fresh db. > This option will be enabled by default on database reloads in the slapd > install scripts.
This -q option does not really make a big difference. Speed normally greatly improves when running slapadd with the option set_flags DB_TXN_NOSYNC in the DB_CONFIG file. That file is BTW essential for good bdb operation as the defaults don't work for real directories. Greetings Torsten
signature.asc
Description: Digital signature