X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2095ED1D267 for ; Mon, 23 Feb 2004 20:05:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 35072-03 for ; Mon, 23 Feb 2004 16:05:11 -0400 (AST) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 6CB4DD1D174 for ; Mon, 23 Feb 2004 16:05:09 -0400 (AST) Received: from [216.135.165.74] (HELO 10.1.0.211) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 4480210; Mon, 23 Feb 2004 12:06:18 -0800 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Eric Jain" , "pgsql-performance" Subject: Re: Slow join using network address function Date: Mon, 23 Feb 2004 12:04:18 -0800 User-Agent: KMail/1.5.4 References: <000701c3fa02$e4e3d180$c300000a@caliente> In-Reply-To: <000701c3fa02$e4e3d180$c300000a@caliente> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402231204.18760.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/265 X-Sequence-Number: 5789 Eric, > Nested Loop > (cost=189.00..27359887.76 rows=607947200 width=22) > Join Filter: ("outer".address <<= "inner".address) > -> Seq Scan on clients c > (cost=0.00..2074.76 rows=102176 width=11) > -> Materialize > (cost=189.00..308.00 rows=11900 width=11) > -> Seq Scan on clients_commercial cc > (cost=0.00..189.00 rows=11900 width=11) To help you, we need EXPLAIN ANALYZE, not just EXPLAIN. Thanks! -- -Josh Berkus Aglio Database Solutions San Francisco