Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VSMlf-0002dH-Ai for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Oct 2013 07:59:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VSMle-0003E1-36 for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Oct 2013 07:59:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VSMld-0003Du-5y for pgsql-bugs@postgresql.org; Sat, 05 Oct 2013 07:59:13 +0000 Received: from mail.taisia.fi ([2001:1bc8:100:6::a101]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VSMla-0002FQ-1e for pgsql-bugs@postgresql.org; Sat, 05 Oct 2013 07:59:12 +0000 Received: from [0.0.0.0] (timantti.taisia.fi [213.157.67.233]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.taisia.fi (Postfix) with ESMTPS id 52D5860250; Sat, 5 Oct 2013 11:01:42 +0300 (EEST) Message-ID: <524FC6CC.6050407@ohmu.fi> Date: Sat, 05 Oct 2013 10:59:08 +0300 From: Oskari Saarenmaa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 MIME-Version: 1.0 To: Alvaro Herrera CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8470: 9.3 locking/subtransaction performance regression References: <20130925142618.GT4832@eldon.alvh.no-ip.org> <20131004223141.GZ5235@eldon.alvh.no-ip.org> In-Reply-To: <20131004223141.GZ5235@eldon.alvh.no-ip.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 05.10.2013 01:31, Alvaro Herrera kirjoitti: > AFAICS the problem here is that this test doesn't use MultiXactIds at > all in 9.2, but it does in 9.3. I vaguely recall Noah tried to convince > me to put in an optimization which would have avoided this issue; I will > give that a thought. I don't think I will be able to get it done for > 9.3.1 though. Is the schedule for 9.3.1 visible somewhere? Please reconsider trying to get a fix for this in as it's a pretty big regression from 9.2. My application test case that triggered this ran in roughly 3 seconds with 9.2 but timed out after 3 minutes on 9.3.0. And even without a loop that amplifies this, just a single 'select for update' inside a subtransaction is significantly slower in 9.3. 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