X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 36FE43A46B3 for ; Thu, 20 Jan 2005 05:00:53 +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 17073-02 for ; Thu, 20 Jan 2005 05:00:44 +0000 (GMT) Received: from pillette.com (adsl-67-119-5-202.dsl.snfc21.pacbell.net [67.119.5.202]) by svr1.postgresql.org (Postfix) with ESMTP id 6D8843A45DB for ; Thu, 20 Jan 2005 05:00:42 +0000 (GMT) Received: (from andrew@localhost) by pillette.com (8.11.6/8.11.6) id j0K50W508121; Wed, 19 Jan 2005 21:00:32 -0800 Date: Wed, 19 Jan 2005 21:00:32 -0800 From: andrew@pillette.com Message-Id: <200501200500.j0K50W508121@pillette.com> Subject: Re: index scan of whole table, can't see why To: "Dan Langille" Cc: pgsql-performance@postgresql.org X-Originating-IP: 64.172.56.204 X-Mailer: Webmin 0.940 MIME-Version: 1.0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.189 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, NO_REAL_NAME X-Spam-Level: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Archive-Number: 200501/256 X-Sequence-Number: 9946 This is a multi-part message in MIME format. --bound1106197232 Content-Type: text/plain Content-Transfer-Encoding: 7bit Let's see if I have been paying enough attention to the SQL gurus. The planner is making a different estimate of how many deprecated<>'' versus how many broken <> ''. I would try SET STATISTICS to a larger number on the ports table, and re-analyze. --bound1106197232--