Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOPyG-0001nC-8T for pgsql-performance@arkaria.postgresql.org; Tue, 24 Sep 2013 10:35:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VOPyF-0003WB-O0 for pgsql-performance@arkaria.postgresql.org; Tue, 24 Sep 2013 10:35:55 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOPyE-0003W5-QX for pgsql-performance@postgresql.org; Tue, 24 Sep 2013 10:35:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOPyB-0000xN-Rf for pgsql-performance@postgresql.org; Tue, 24 Sep 2013 10:35:54 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id r8OAZlZk018458; Tue, 24 Sep 2013 06:35:48 -0400 From: Tom Lane To: Kevin Grittner cc: Jeff Janes , =?utf-8?B?QmFydMWCb21pZWogUm9tYcWEc2tp?= , "pgsql-performance@postgresql.org" Subject: Re: Planner performance extremely affected by an hanging transaction (20-30 times)? In-reply-to: <1379944816.30390.YahooMailNeo@web162903.mail.bf1.yahoo.com> References: <1379944816.30390.YahooMailNeo@web162903.mail.bf1.yahoo.com> Comments: In-reply-to Kevin Grittner message dated "Mon, 23 Sep 2013 07:00:16 -0700" Date: Tue, 24 Sep 2013 12:35:47 +0200 Message-ID: <5815.1380018947@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Kevin Grittner writes: > Are we talking about the probe for the end (or beginning) of an > index?  If so, should we even care about visibility of the row > related to the most extreme index entry?  Should we even go to the > heap during the plan phase? Consider the case where some transaction inserted a wildly out-of-range value, then rolled back. If we don't check validity of the heap row, we'd be using that silly endpoint value for planning purposes --- indefinitely. That's not an improvement over the situation that the probe is meant to fix. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance