Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EBF601337B93 for ; Wed, 20 Apr 2011 13:35:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 61955-01 for ; Wed, 20 Apr 2011 16:35:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 51BC51337B54 for ; Wed, 20 Apr 2011 13:35:28 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 20 Apr 2011 11:35:27 -0500 Message-Id: <4DAEC4F5020000250003CAAE@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 20 Apr 2011 11:35:17 -0500 From: "Kevin Grittner" To: "Heikki Linnakangas" , Subject: Re: BUG #5989: Assertion failure on UPDATE of big value References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org> <4DAEB087020000250003CA8B@gw.wicourts.gov> <4DAEF7E6.7080107@enterprisedb.com> In-Reply-To: <4DAEF7E6.7080107@enterprisedb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/155 X-Sequence-Number: 30074 Heikki Linnakangas wrote: > But the question Tom raised about doing this even for > non-serializable transactions is more serious.. This particular call from heapam.c went in much later than most of the code, since we had trouble proving that anything needed to be done there in the first place. As such, it wasn't there during the many benchmarks which were done along the way. None of those showed any performance degradation for other isolation levels due to the SSI code. Dan and I are sorting out the best way to isolate this particular call to assess the performance impact. We also think there should probably be an additional test or two in the regression tests to exercise this area. I think we should wait for the results of performance tests and (if warranted by benchmark results) profiling before we start talking about possible ways to address this. The evils of premature optimization and all. Dan came to the same conclusion a fix before seeing Heikki's post on the issue, so it would be good get that committed. More to follow, once we have benchmark results on this and a suggested patch for regression test coverage. -Kevin