Skip site navigation (1) Skip section navigation (2)

Re: Load Distributed Checkpoints, final patch

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Michael Glaesemann <grzm(at)seespotcode(dot)net>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Load Distributed Checkpoints, final patch
Date: 2007-06-26 19:14:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Michael Glaesemann wrote:
> On Jun 26, 2007, at 13:49 , Heikki Linnakangas wrote:
>> Maximum is 0.9, to leave some headroom for fsync and any other things 
>> that need to happen during a checkpoint.
> I think it might be more user-friendly to make the maximum 1 (meaning as 
> much smoothing as you could possibly get) and internally reserve a 
> certain amount off for whatever headroom might be required. It's more 
> common for users to see a value range from 0 to 1 rather than 0 to 0.9.

It would then be counter-intuitive if you set it to 1.0, and see that 
your checkpoints consistently take 90% of the checkpoint interval.

We could just allow any value up to 1.0, and note in the docs that you 
should leave some headroom, unless you don't mind starting the next 
checkpoint a bit late. That actually sounds pretty good.

   Heikki Linnakangas

In response to


pgsql-patches by date

Next:From: Dave PageDate: 2007-06-26 19:39:38
Subject: pg_ctl -w (wait) option on Windows
Previous:From: Heikki LinnakangasDate: 2007-06-26 19:12:07
Subject: Re: Load Distributed Checkpoints, final patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group