Re: Load Distributed Checkpoints, final patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Load Distributed Checkpoints, final patch
Date
Msg-id 200707022344.l62Nis604943@momjian.us
Whole thread Raw
In response to Re: Load Distributed Checkpoints, final patch  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: Load Distributed Checkpoints, final patch
List pgsql-patches
Heikki Linnakangas wrote:
> For comparison, imola-328 has full_page_writes=off. Checkpoints last ~9
> minutes there, and the graphs look very smooth. That suggests that
> spreading the writes over a longer time wouldn't make a difference, but
> smoothing the rush at the beginning of checkpoint might. I'm going to
> try the algorithm I posted, that uses the WAL consumption rate from
> previous checkpoint interval in the calculations.

One thing that concerns me is that checkpoint smoothing happening just
after the checkpoint is causing I/O at the same time that
full_page_writes is causing additional I/O.  Ideally we would do the
smoothing toward the end of the checkpoint cycle, but I realize that has
problems of its own.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg_ctl -w (wait) option on Windows
Next
From: Neil Conway
Date:
Subject: Re: [DOCS] rename of a view