Re: CHECKPOINT_WARNING GUC variable addition

From: Neil Conway <neilc(at)samurai(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: CHECKPOINT_WARNING GUC variable addition
Date: 2002-11-13 03:47:02
Message-ID: 87smy6uo5l.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-11-13 04:09:41 Re: minor SGML fix
Previous Message Neil Conway 2002-11-13 03:30:32 Re: minor SGML fix