X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C27F9D1C4E1 for ; Mon, 11 Aug 2003 18:51:53 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 30212-07 for ; Mon, 11 Aug 2003 15:50:23 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 11A24D1C510 for ; Mon, 11 Aug 2003 15:51:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7BIoLSa005399; Mon, 11 Aug 2003 14:50:21 -0400 (EDT) To: Stef Cc: pgsql-performance@postgresql.org Subject: Re: Analyze makes queries slow... In-reply-to: <20030811184736.7e191a86.svb@ucs.co.za> References: <20030811155841.483ffd93.svb@ucs.co.za> <2934.1060616625@sss.pgh.pa.us> <20030811184736.7e191a86.svb@ucs.co.za> Comments: In-reply-to Stef message dated "Mon, 11 Aug 2003 18:47:36 +0200" Date: Mon, 11 Aug 2003 14:50:21 -0400 Message-ID: <5398.1060627821@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/173 X-Sequence-Number: 2990 Stef writes: > => And what PG version is this, exactly? > PostgreSQL 7.3.1 Ah, I think I see it: you are getting burnt by a mergejoin estimation bug that was fixed in 7.3.2. Please update (you might as well go to 7.3.4 while you're at it) and see if the results improve. regards, tom lane