[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Sync Cached BDB data

On Thu, 5 Jul 2007, Arunachalam Parthasarathy wrote:
Is it possible to sync the cached bdb data to disk at regular interval ?
Does openldap uses Db::Sync Api for this ?

It uses txn_checkpoint() to do that, which writes out not only the modified pages in the DB cache but also the transaction log. Check out the 'checkpoint' option on the slapd-bdb(5) manpage for how to control how often slapd makes those calls.

Philip Guenther