Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anj66-00083y-3s for pgsql-committers@arkaria.postgresql.org; Wed, 06 Apr 2016 08:45:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anj64-0003wq-Pc for pgsql-committers@arkaria.postgresql.org; Wed, 06 Apr 2016 08:45:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anj5r-0003V6-Rh for pgsql-committers@postgresql.org; Wed, 06 Apr 2016 08:45:43 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anj5o-00049Q-DD for pgsql-committers@postgresql.org; Wed, 06 Apr 2016 08:45:43 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C941A21AA1 for ; Wed, 6 Apr 2016 04:45:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 06 Apr 2016 04:45:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=FD7/3Q6XYohrJOhv/5BB6Gq8Tnw=; b=Qa4bV i5yF3ifZh0bjll8Z1J7Bypsq/J4b0Ycd9bq02A3KMeoZw/KG5NEffovQNI7PYuzJ WLUMqoOsd/8f0uH7JX6ImzgPhoddZPxtu5O4oNZ9DsL/B41A3LPPF7Wl6LwowGv/ P4+wwcN1Ca/Yy1GEBoidX7c0lq00UbtjwV6ing= X-Sasl-enc: HORVfP3CA/FVHvsQ20w8J5M+tPAlvbO5KWjgGNS6sfAP 1459932336 Received: from intern.anarazel.de (p5ddc590f.dip0.t-ipconnect.de [93.220.89.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C89A680135; Wed, 6 Apr 2016 04:45:36 -0400 (EDT) Date: Wed, 6 Apr 2016 10:45:34 +0200 From: Andres Freund To: Simon Riggs Cc: Michael Paquier , PostgreSQL-development , pgsql-committers Subject: Re: [HACKERS] pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server Message-ID: <20160406084534.v4g7iey2iqlyy57r@alap3.anarazel.de> References: <20160404062450.GB2431@awork2.anarazel.de> <20160404064202.GE2431@awork2.anarazel.de> <20160404064919.GG2431@awork2.anarazel.de> <20160404072220.GA2855@awork2.anarazel.de> <20160404075048.GH2431@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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