Re: CHECKPOINT_WARNING GUC variable addition - Mailing list pgsql-patches

From Neil Conway
Subject Re: CHECKPOINT_WARNING GUC variable addition
Date
Msg-id 87smy6uo5l.fsf@mailbox.samurai.com
Whole thread Raw
In response to CHECKPOINT_WARNING GUC variable addition  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: CHECKPOINT_WARNING GUC variable addition
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The following patch adds a GUC variable CHECKPOINT_WARNING which
> generates a server log message if the checkpoint caused by WAL file
> filling happens more frequently than (default) 30 seconds.

+    Checkpoints are fairly expensive because they force all dirty kernel
+    buffers to disk using the operating system <literal>sync()</> call.
+    Busy servers may fill checkpoint segment files too quickly,
+    causing excessive checkpointing. If such forced checkpoints happen
+    more than <varname>CHECKPOINT_WARNING</varname> seconds

That should be: "happen more [frequently] than ..."

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: minor SGML fix
Next
From: Bruce Momjian
Date:
Subject: Re: minor SGML fix