Hello,
Is it possible to sync the cached bdb data to disk at regular interval ? Does openldap uses Db::Sync Api for this ?
Please answer me in this regard
Thanks in advance,
Arunachalam.
**************************************************************************** **************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
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
Arunachalam Parthasarathy arunachalamp@huawei.com writes:
Hello,
Is it possible to sync the cached bdb data to disk at regular interval ? Does openldap uses Db::Sync Api for this ?
Please answer me in this regard
Thanks in advance,
Arunachalam.
This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
I am not the intended person and my entity is not listed above, so I'm not allowed to take notice of the confidential information you provided. But you might have a look at man slapd-bdb(5),for further information
-Dieter
openldap-software@openldap.org