X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E4E39D6F4F for ; Thu, 22 Sep 2005 20:10:27 -0300 (ADT) 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 45633-09 for ; Thu, 22 Sep 2005 23:10:21 +0000 (GMT) Received: from BAYC1-PASMTP04.bayc1.hotmail.com (bayc1-pasmtp04.bayc1.hotmail.com [65.54.191.164]) by svr1.postgresql.org (Postfix) with ESMTP id 18230D6E83 for ; Thu, 22 Sep 2005 20:10:22 -0300 (ADT) Message-ID: X-Originating-IP: [70.50.100.93] X-Originating-Email: [pelletier_32@sympatico.ca] Received: from JP ([70.50.100.93]) by BAYC1-PASMTP04.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Sep 2005 16:09:53 -0700 Message-ID: <022401c5bfca$d1bb9e00$6501a8c0@JP> From: "Jean-Pierre Pelletier" To: Cc: References: <200509221519.05555.josh@agliodbs.com> <200509221558.44027.josh@agliodbs.com> Subject: Re: Queries 15 times slower on 8.1 beta 2 than on 8.0 Date: Thu, 22 Sep 2005 19:10:25 -0400 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.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-OriginalArrivalTime: 22 Sep 2005 23:09:53.0344 (UTC) FILETIME=[BD7EF400:01C5BFCA] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.519 required=5 tests=[AWL=0.003, FROM_ENDS_IN_NUMS=0.516, MSGID_FROM_MTA_HEADER=0] X-Spam-Level: X-Archive-Number: 200509/261 X-Sequence-Number: 14569 my settings are: effective_cache_size = 1000 random_page_cost = 4 work_mem = 20000 ----- Original Message ----- From: "Josh Berkus" To: "Jean-Pierre Pelletier" Sent: Thursday, September 22, 2005 6:58 PM Subject: Re: [PERFORM] Queries 15 times slower on 8.1 beta 2 than on 8.0 > Jean-Pierre, > >> How do I produce an "Index scan plan" ? > > You just did. What's your effective_cache_size set to? > random_page_cost? work_mem? > > -- > --Josh > > Josh Berkus > Aglio Database Solutions > San Francisco