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 DB05A3A42AE for ; Thu, 20 Jan 2005 09:23:00 +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 59672-05 for ; Thu, 20 Jan 2005 09:22:48 +0000 (GMT) Received: from quasar.skima.is (quasar.skima.is [212.30.200.205]) by svr1.postgresql.org (Postfix) with ESMTP id D227E3A3D7D for ; Thu, 20 Jan 2005 09:22:48 +0000 (GMT) Received: from gnari ([157.157.193.37] [157.157.193.37]) by quasar.skima.is with ESMTP; Thu, 20 Jan 2005 09:22:44 Z Subject: Re: index scan of whole table, can't see why From: Ragnar =?ISO-8859-1?Q?Hafsta=F0?= To: andrew@pillette.com Cc: Dan Langille , pgsql-performance@postgresql.org In-Reply-To: <200501200500.j0K50W508121@pillette.com> References: <200501200500.j0K50W508121@pillette.com> Content-Type: text/plain Date: Thu, 20 Jan 2005 09:23:58 +0000 Message-Id: <1106213038.22416.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/258 X-Sequence-Number: 9948 On Wed, 2005-01-19 at 21:00 -0800, andrew@pillette.com wrote: > 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. that should not help, as the estimate is accurate, according to the explain analyze. gnari