From ac8b15fa0588f944bbf354357ad75e845bb79fb6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 19 Jan 2005 21:03:30 +0000 Subject: [PATCH] ITS#3493 checkpoint clarification --- doc/man/man5/slapd-bdb.5 | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/doc/man/man5/slapd-bdb.5 b/doc/man/man5/slapd-bdb.5 index 65c5ad57de..ae5dbd530f 100644 --- a/doc/man/man5/slapd-bdb.5 +++ b/doc/man/man5/slapd-bdb.5 @@ -40,21 +40,17 @@ by the BDB backend database instance. The default is 1000 entries. .TP .B checkpoint -Specify the frequency for checkpointing the database transaction log. -A checkpoint operation flushes the database buffers to disk and writes -a checkpoint record in the log. -The checkpoint will occur if either data has been written or - minutes have passed since the last checkpoint. -Both arguments default to zero, in which case they are ignored. Note -that the checkpoint conditions are only tested after a write operation, -and not every minutes. As such, data written within minutes -of the last checkpoint will -.I not -get flushed until the next write operation happens after that interval. -Outstanding writes in this situation may not get flushed if the server -is shutdown uncleanly, and the database will need to be recovered before -the next startup. -See the Berkeley DB reference guide for more details. +Specify the frequency for checkpointing the database transaction +log upon updating of the database. A checkpointing flushes the +database buffers to disk and writes a checkpoint record in the log. +Upon a database update, a checkpoint will occur if either +data has been written or minutes have passed since the last +checkpoint. Both arguments default to zero, in which case they are +ignored. Note: checkpointing by this directive occurs only upon execution of +a database update. If one desires checkpoinging to occur otherwise, +db_checkpoint(1) or other external process should be used to cause +a database checkpoint to be taken. See the Berkeley DB reference +guide for more details. .TP .B dbnosync Specify that on-disk database contents should not be immediately -- 2.39.5