X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 475619FB223 for ; Fri, 15 Sep 2006 13:05:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 88058-03-3 for ; Fri, 15 Sep 2006 13:05:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from obelix.askesis.nl (laudanum.demon.nl [82.161.125.16]) by postgresql.org (Postfix) with ESMTP id 5D24F9FB293 for ; Fri, 15 Sep 2006 13:05:11 -0300 (ADT) Received: obelix 172.31.0.1 from 172.31.1.1 172.31.1.1 via HTTP with MS-WebStorage 6.0.6249 Received: from panoramix by obelix; 15 Sep 2006 18:05:09 +0200 Subject: Re: Why the difference in plans ?? From: Joost Kraaijeveld To: Tom Lane Cc: pgsql-performance@postgresql.org In-Reply-To: <24190.1158329315@sss.pgh.pa.us> References: <1158309566.30482.29.camel@panoramix> <24190.1158329315@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 15 Sep 2006 18:05:09 +0200 Message-Id: <1158336309.6071.2.camel@panoramix> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.186 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200609/208 X-Sequence-Number: 20894 On Fri, 2006-09-15 at 10:08 -0400, Tom Lane wrote: > but it seems there are only 7. Try increasing your statistics target > and re-analyzing. Do you mean with "increasing my statistics target" changing the value of "default_statistics_target = 10" to a bigger number? If so, changing it to 900 did not make any difference (PostgreSQL restarted, vacuumed analysed etc). -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl