Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5A5651337B79 for ; Thu, 27 Jan 2011 11:57:57 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 05154-06 for ; Thu, 27 Jan 2011 15:57:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mail.postgresql.org (Postfix) with ESMTP id 2A0F51337B5E for ; Thu, 27 Jan 2011 11:57:50 -0400 (AST) X-Authority-Analysis: v=1.1 cv=3uSaImBeuprzHBlOOPjkqgu+7PcxSRW0m2Aphm9Zmck= c=1 sm=0 a=cYhYf6uZ5ZgA:10 a=8nJEP1OIZ-IA:10 a=RAii6je2cdnAH6ATCOpc6g==:17 a=_Ixf_7qHAAAA:8 a=G18DIA4OVUBQVh2l2IEA:9 a=ijO-YG-02Ma56GelKvDYsJZDFWIA:4 a=wPNLvfGTeEIA:10 a=ryAo9hy1-OkA:10 a=6vsjEBoLwlAA:10 a=0tfO7MgyNwYA:10 a=RAii6je2cdnAH6ATCOpc6g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.73.87.196 Received: from [74.73.87.196] ([74.73.87.196:57277] helo=[192.168.1.103]) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 74/23-04612-EF5914D4; Thu, 27 Jan 2011 15:57:50 +0000 Message-ID: <4D4195FE.5000506@vmsinfo.com> Date: Thu, 27 Jan 2011 10:57:50 -0500 From: Mladen Gogala User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: J Sisson CC: "pgsql-performance@postgresql.org" Subject: Re: Postgres 9.0 has a bias against indexes References: <4D419214.8060003@vmsinfo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201101/273 X-Sequence-Number: 42060 On 1/27/2011 10:51 AM, J Sisson wrote: > Also, if random_page_cost is set to default (4.0), the planner will > tend towards sequential scans. scott=> show random_page_cost; random_page_cost ------------------ 1 (1 row) scott=> show seq_page_cost; seq_page_cost --------------- 2 (1 row) -- Mladen Gogala Sr. Oracle DBA 1500 Broadway New York, NY 10036 (212) 329-5251 www.vmsinfo.com