pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andres Freund <andres@2ndquadrant.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Planner performance extremely affected by an hanging transaction (20-30 times)?
Date: Fri, 27 Sep 2013 23:14:39 +0200
Message-ID: <20130927211439.GB7260@awork2.anarazel.de> (raw )
In-Reply-To: <5245F11E.20804@agliodbs.com >
References: <5815.1380018947@sss.pgh.pa.us >
<e8795f5e292a0bd1a4d8ebbcb54e4a98.squirrel@shrek.krogh.cc >
<WM!41fcd3fa079d542735fe69d3254859689c1085f7c897fa6e9a9b828ad9d2c80ba7b6b2c4c67c942a6115262993147370!@asav-1.01.com >
<5241CF2A.2070309@agliodbs.com >
<CAMkU=1ys-fB2Nczt=LT1pVHzK3Jv4Jb-67N29Gzyx3nraweoZQ@mail.gmail.com >
<20130925175312.GB5578@awork2.anarazel.de >
<CAMkU=1yy-YEQVvqj2xJitT1EFkyuFk7uTV_hrOMGyGMxpU=N+Q@mail.gmail.com >
<20130925184330.GC5578@awork2.anarazel.de >
<WM!93b9a5691f0628ebed5547d1ebe916326a0f388cbdc28742bef1b0c7862375a07b801f17c707cbdf6a3104b7920696af!@asav-1.01.com >
<5245F11E.20804@agliodbs.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 2013-09-27 13:57:02 -0700, Josh Berkus wrote:
> Andres, Jeff,
>
>
> >> As far as I can tell, the only downside of doing that is that, since hint
> >> bits might be set later, it is possible some dirty pages will get written
> >> unhinted and then re-dirtied by the hint bit setting, when more aggressive
> >> setting would have only one combined dirty write instead. But that seems
> >> rather hypothetical, and if it really is a problem we should probably
> >> tackle it directly rather than by barring other optimizations.
> >
> > I am - as evidenced - too tired to think about this properly, but I
> > think you might be right here.
>
> Any thoughts on a fix for this we could get into 9.2.5?
I don't see much chance to apply anything like this in a
backbranch. Changing IO patterns in a noticeable way in a minor release
is just asking for trouble.
Also, this really isn't going to fix the issue discussed here - this was
just about the additional ProcArrayLock contention. I don't think it
would change anything dramatical in your case.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
view thread (25+ messages) latest in thread
Message-ID: <20130927211439.GB7260@awork2.anarazel.de>
Permalink: ../20130927211439.GB7260@awork2.anarazel.de/
Also on: postgresql.org/message-id/20130927211439.GB7260@awork2.anarazel.de
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: andres@2ndquadrant.com, josh@agliodbs.com, jeff.janes@gmail.com
Subject: Re: Planner performance extremely affected by an hanging transaction (20-30 times)?
In-Reply-To: <20130927211439.GB7260@awork2.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