pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: 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: [HACKERS] pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server
Date: Wed, 6 Apr 2016 10:45:34 +0200
Message-ID: <20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de> (raw)
In-Reply-To: <CANP8+jJ00vg2oBWcexNVUF-q3tSNbL1PAU7ZCAs4_hFMDWe=2w@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>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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. It doesn't fix the
issue for for wal_level=logical. We now log more WAL with
XLogArchiveTimeout > 0 than without.

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

Andres


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (25+ messages)  latest in thread

Message-ID: <20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de>
Permalink:  ../20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de

 · 

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: andres@anarazel.de, simon@2ndQuadrant.com, michael.paquier@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server
  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>

* 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