X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AEF8D53632; Fri, 25 Mar 2005 14:41:11 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89876-02; Fri, 25 Mar 2005 14:41:08 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8366B533AA; Fri, 25 Mar 2005 14:41:07 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2PEf9PD023229; Fri, 25 Mar 2005 09:41:09 -0500 (EST) To: Simon Riggs Cc: Keith Browne , pgsql-bugs@postgresql.org, "Brian O'Reilly" , pgsql-performance@postgresql.org Subject: Re: BUG #1552: massive performance hit between 7.4 and 8.0.1 In-reply-to: <1111745917.11750.713.camel@localhost.localdomain> References: <20050318232102.08FA0F0E5D@svr2.postgresql.org> <1111567230.11750.596.camel@localhost.localdomain> <4241C1DF.2020000@deepsky.com> <1111745917.11750.713.camel@localhost.localdomain> Comments: In-reply-to Simon Riggs message dated "Fri, 25 Mar 2005 10:18:37 +0000" Date: Fri, 25 Mar 2005 09:41:09 -0500 Message-ID: <23228.1111761669@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/266 X-Sequence-Number: 11386 Simon Riggs writes: > I think we should spawn a TODO item from this: > * Coerce FK lookups to always use an available index No, we aren't doing that. The correct TODO item is "Replan cached plans when table size has changed a lot" which of course depends on having a framework to do replanning at all. I intend to take a look at that once Neil has created such a framework ... regards, tom lane