pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oskari Saarenmaa <os@ohmu.fi>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8470: 9.3 locking/subtransaction performance regression
Date: Fri, 17 Apr 2015 11:50:37 +0300
Message-ID: <5530C95D.2040907@ohmu.fi> (raw)
In-Reply-To: <20150410165751.GI4369@alvh.no-ip.org>
References: <E1VOpEt-0003nc-4J@wrigleys.postgresql.org>
	<20131220204753.GG22570@eldon.alvh.no-ip.org>
	<20131223155603.GI22570@eldon.alvh.no-ip.org>
	<20131223162903.GJ22570@eldon.alvh.no-ip.org>
	<20131223195300.GK22570@eldon.alvh.no-ip.org>
	<20131230181151.GG12910@alap2.anarazel.de>
	<20131231163418.GW22570@eldon.alvh.no-ip.org>
	<20131231202753.GY22570@eldon.alvh.no-ip.org>
	<20140114124305.GA28072@saarenmaa.fi>
	<20150410165751.GI4369@alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

10.04.2015, 19:57, Alvaro Herrera kirjoitti:
>> I didn't try this patch, but I built today's REL9_3_STABLE with the patch
>> from your mail on the 31st of Dec
>> (http://github.com/saaros/postgres/tree/alvaro-multixact-optimize-9.3) and
>> ran the older version of my appliaction's test suite which has a case that
>> times out after 3 minutes with unpatched 9.3.  With the current patch the
>> test case successfully completes in ~20 seconds which is a major improvement
>> although it's still slower than 9.2  It also passes all other test cases in
>> my test suite.
>>
>> Do you think it'll make it to 9.3.3?
> 
> I just pushed this to 9.5.  I'm not sure how much value I place on a
> backpatch at this point.  There were a number of complaints about the
> performance regression, but other than yours I got no report on whether
> the fix was good, or on whether it was stable.  If you have other
> thoughts, I'm willing to listen.  Anyway if you could test the patch I
> pushed, it'd be great.

The component where this was an issue was totally rewritten already a
while ago to allow us to take 9.3 into use and as I can't run the old
version anymore I can't verify the fix in a real application.  The code
we had there was almost identical to the test case I posted.

I don't think the fix needs to be backpatched.

Thanks,
Oskari


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



view thread (26+ messages)  latest in thread

Message-ID: <5530C95D.2040907@ohmu.fi>
Permalink:  ../5530C95D.2040907@ohmu.fi/
Also on:    postgresql.org/message-id/5530C95D.2040907@ohmu.fi

 · 

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-bugs@postgresql.org
  Cc: os@ohmu.fi, alvherre@2ndquadrant.com, andres@2ndquadrant.com
  Subject: Re: BUG #8470: 9.3 locking/subtransaction performance regression
  In-Reply-To: <5530C95D.2040907@ohmu.fi>
  References: <E1VOpEt-0003nc-4J@wrigleys.postgresql.org> <20131220204753.GG22570@eldon.alvh.no-ip.org> <20131223155603.GI22570@eldon.alvh.no-ip.org> <20131223162903.GJ22570@eldon.alvh.no-ip.org> <20131223195300.GK22570@eldon.alvh.no-ip.org> <20131230181151.GG12910@alap2.anarazel.de> <20131231163418.GW22570@eldon.alvh.no-ip.org> <20131231202753.GY22570@eldon.alvh.no-ip.org> <20140114124305.GA28072@saarenmaa.fi> <20150410165751.GI4369@alvh.no-ip.org> <5530C95D.2040907@ohmu.fi>

* 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