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 989F456146 for ; Thu, 3 Mar 2005 09:21:27 +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 97724-09 for ; Thu, 3 Mar 2005 09:21:25 +0000 (GMT) Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by svr1.postgresql.org (Postfix) with ESMTP id 79CA2556EE for ; Thu, 3 Mar 2005 09:21:24 +0000 (GMT) Received: from windsortransportationclub.com (d57-59-156.home.cgocable.net [24.57.59.156]) by fep1.cogeco.net (Postfix) with SMTP id A51D473DF for ; Thu, 3 Mar 2005 04:21:26 -0500 (EST) Received: (qmail 4380 invoked from network); 3 Mar 2005 09:52:27 -0000 Received: from d36-80-110.home1.cgocable.net (HELO KEN) (24.36.80.110) by 0 with SMTP; 3 Mar 2005 09:52:27 -0000 Message-ID: <000a01c51fd2$64bc6a70$6a01a8c0@KEN> From: "Ken Egervari" To: References: <001001c51ef4$3849eeb0$6a01a8c0@KEN> <1109789394.31084.20.camel@localhost.localdomain> <000601c51f63$63c8bb10$6a01a8c0@KEN> <200503022152.13211.josh@agliodbs.com> Subject: Re: Help with tuning this query (with explain analyze finally) Date: Thu, 3 Mar 2005 04:21:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.774 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL X-Spam-Level: * X-Archive-Number: 200503/53 X-Sequence-Number: 10758 >2) Force PG to drop the merge join via SET ENABLE_MERGEJOIN = FALSE; Actually, it was 312 milliseconds, so it got worse.