[Date Prev][Date Next]
Re: (ITS#4229) DB_CONFIG.example not adapted
--On Tuesday, November 29, 2005 10:28 AM +0000
> Full_Name: Ali Pouya
> Version: 2.3.12
> OS: Linux Redhat Advanced Serveur 4
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (22.214.171.124)
> The DB_CONFIG.example file shipped with OpenLdap recommends the flag
> DB_TXN_NOT_DURABLE for fast operations (slapadd and slapindex)but BDB
> 4.3.29 does not recognize this flag.
> I use DB_TXN_WRITE_NOSYNC instead.
> Is this a good solution ?
> If yes it could be added in the file.
> Best Regards
> Ali Pouya
The recommended version of BDB to use with OL is still 4.2.52 + patches,
which is likely why the DB_CONFIG file shipped with OpenLDAP has the BDB
4.2 syntax in it. However, for fast operations (slapadd or slapindex) in
2.3, you can ignore these parameters altogether with BDB 4.2 or BDB 4.3,
and simply use the "-q" flag to the tools instead. The lines you reference
should really be pulled from the 2.3 version of DB_CONFIG altogether, and
likely replaced with "# Use -q for fast operations while running slapadd or
slapindex" or something similar.