pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server
Date: Wed, 6 Apr 2016 10:04:42 +0100
Message-ID: <CANP8+jJWDcmrtFuJ2s-JqPJZ_sAzPsxi8uOwgH8_OAzV_NnnuQ@mail.gmail.com> (raw)
In-Reply-To: <20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de>
References: <20160404062450.GB2431@awork2.anarazel.de>
	<CANP8+jKoFKXvCZeNUG=TaCtg_YCZp-PDMffO86PG8h=wyF3R0g@mail.gmail.com>
	<20160404064202.GE2431@awork2.anarazel.de>
	<20160404064919.GG2431@awork2.anarazel.de>
	<CANP8+j+Bzpd4BJzfQZnxZZni3bokWTzvb_NMoVW2XAZe8G5HjA@mail.gmail.com>
	<20160404072220.GA2855@awork2.anarazel.de>
	<CANP8+jKuy8W6xkMHF_V0YzWWMQdZ-LcUQiQ71kv9BgBjaq5T4Q@mail.gmail.com>
	<20160404075048.GH2431@awork2.anarazel.de>
	<CAB7nPqTh6-0xuB85f9oCtuqm88A_VEQnsVHbhbEPNa-Sdq8yog@mail.gmail.com>
	<CANP8+jJ00vg2oBWcexNVUF-q3tSNbL1PAU7ZCAs4_hFMDWe=2w@mail.gmail.com>
	<20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 6 April 2016 at 09:45, Andres Freund <andres@anarazel.de> wrote:

> On 2016-04-06 09:18:54 +0100, Simon Riggs wrote:
> > Rather than take that option, I went to the trouble of writing a patch
> that
> > does the same thing but simpler, less invasive and more maintainable.
> > Primarily, I did that for you, to avoid you having wasted your time and
> to
> > allow you to backpatch a solution.
>
> But it doesn't. It doesn't solve the longstanding problem of checkpoints
> needlessly being repeated due to standby snapshots.


<sigh> I can't see why you say this. I am willing to listen, but this
appears to be wrong.


> It doesn't fix the
> issue for for wal_level=logical.


What issue is that? Previously you said it must not skip it at all for
logical.


> We now log more WAL with
> XLogArchiveTimeout > 0 than without.
>

And the problem with that is what?


> The other was an architectural fix, this is a selectively applied
> bandaid.
>

It was an attempt at an architectural fix, which went wrong by being too
much code and too invasive for such a minor issue.

I'm not much concerned with what emotive language you choose to support
your arguments, but I am concerned about clear, maintainable code and I
object to the previous patch.

There are other problems worthy of our attention and I will attend to those
now.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/;
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

view thread (25+ messages)  latest in thread

Message-ID: <CANP8+jJWDcmrtFuJ2s-JqPJZ_sAzPsxi8uOwgH8_OAzV_NnnuQ@mail.gmail.com>
Permalink:  ../CANP8+jJWDcmrtFuJ2s-JqPJZ_sAzPsxi8uOwgH8_OAzV_NnnuQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CANP8+jJWDcmrtFuJ2s-JqPJZ_sAzPsxi8uOwgH8_OAzV_NnnuQ@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: simon@2ndQuadrant.com, andres@anarazel.de, michael.paquier@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server
  In-Reply-To: <CANP8+jJWDcmrtFuJ2s-JqPJZ_sAzPsxi8uOwgH8_OAzV_NnnuQ@mail.gmail.com>
  References: <20160404062450.GB2431@awork2.anarazel.de> <CANP8+jKoFKXvCZeNUG=TaCtg_YCZp-PDMffO86PG8h=wyF3R0g@mail.gmail.com> <20160404064202.GE2431@awork2.anarazel.de> <20160404064919.GG2431@awork2.anarazel.de> <CANP8+j+Bzpd4BJzfQZnxZZni3bokWTzvb_NMoVW2XAZe8G5HjA@mail.gmail.com> <20160404072220.GA2855@awork2.anarazel.de> <CANP8+jKuy8W6xkMHF_V0YzWWMQdZ-LcUQiQ71kv9BgBjaq5T4Q@mail.gmail.com> <20160404075048.GH2431@awork2.anarazel.de> <CAB7nPqTh6-0xuB85f9oCtuqm88A_VEQnsVHbhbEPNa-Sdq8yog@mail.gmail.com> <CANP8+jJ00vg2oBWcexNVUF-q3tSNbL1PAU7ZCAs4_hFMDWe=2w@mail.gmail.com> <20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de> <CANP8+jJWDcmrtFuJ2s-JqPJZ_sAzPsxi8uOwgH8_OAzV_NnnuQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox