Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 12E1F9FB76C for ; Tue, 13 Mar 2007 10:43:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 35420-03 for ; Tue, 13 Mar 2007 10:43:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id CC0469FB7AB for ; Tue, 13 Mar 2007 10:43:35 -0300 (ADT) Received: from perhan.alvh.no-ip.org (201-221-201-67.bk11-dsl.surnet.cl [201.221.201.67]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l2DDh8ZS021283; Tue, 13 Mar 2007 06:43:14 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 895D532A15; Tue, 13 Mar 2007 09:43:06 -0400 (CLT) Date: Tue, 13 Mar 2007 09:43:06 -0400 From: Alvaro Herrera To: vincent.moreau@leroymerlin.fr Cc: Michael Fuhr , pgsql-performance@postgresql.org Subject: Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 Message-ID: <20070313134306.GC6715@alvh.no-ip.org> Mail-Followup-To: vincent.moreau@leroymerlin.fr, Michael Fuhr , pgsql-performance@postgresql.org References: <45F65EA3.1030706@leroymerlin.fr> <20070313101117.GA98241@winnie.fuhr.org> <45F686FA.2090909@leroymerlin.fr> <20070313130945.GB4490@alvh.no-ip.org> <45F6A6F8.9090405@leroymerlin.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45F6A6F8.9090405@leroymerlin.fr> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Tue, 13 Mar 2007 06:43:15 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/222 X-Sequence-Number: 23627 vincent.moreau@leroymerlin.fr wrote: > Here it is : > > CCM=# SHOW enable_mergejoin; > enable_mergejoin > ------------------ > on > (1 row) Sorry, my question was more general. Do you have _any_ of the planner types disabled? Try also enable_indexscan, etc; maybe select * from pg_settings where name like 'enable_%'; -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.