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

Re: Simplifying replication

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, Greg Stark <gsstark(at)mit(dot)edu>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Simplifying replication
Date: 2010-10-28 05:13:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> I sort of agree with you that the current checkpoint_segments
> parameter is a bit hard to tune, at least if your goal is to control
> the amount of disk space that will be used by WAL files.  But I'm not
> sure your proposal is better.  Instead of having a complicated formula
> for predicting how much disk space would get used by a given value for
> checkpoint_segments, we'd have a complicated formula for the amount of
> WAL that would force a checkpoint based on max_wal_size.

Yes, but the complicated formula would then be *in our code* instead of 
being inflicted on the user, as it now is.

                                   -- Josh Berkus
                                      PostgreSQL Experts Inc.

In response to


pgsql-hackers by date

Next:From: GnanakumarDate: 2010-10-28 07:57:02
Subject: Re: pg_ctl: server does not shut down
Previous:From: Andrew DunstanDate: 2010-10-28 04:08:39
Subject: Re: Composite Types and Function Parameters

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