X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 87F7F3A46D0 for ; Thu, 11 Nov 2004 17:06:27 +0000 (GMT) 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 36917-02 for ; Thu, 11 Nov 2004 17:06:24 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 2A4C43A4A46 for ; Thu, 11 Nov 2004 15:24:05 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id iABFO4g5001466 for ; Thu, 11 Nov 2004 15:24:04 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id iAB7wbOS088093 for pgsql-performance@postgresql.org; Thu, 11 Nov 2004 07:58:37 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.performance Subject: Re: seqscan strikes again Date: Thu, 11 Nov 2004 08:58:27 +0100 Organization: PYRENET Midi-pyrenees Provider Lines: 12 Message-ID: <41931BA3.5010008@bigfoot.com> References: <20041109222345.GG46084@decibel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr To: "Jim C. Nasby" User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en In-Reply-To: <20041109222345.GG46084@decibel.org> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/180 X-Sequence-Number: 9134 Jim C. Nasby wrote: > I'm wondering if there's any way I can tweak things so that the estimate > for the query is more accurate (I have run analyze): Can you post your configuration file ? I'd like to see for example your settings about: random_page_cost and effective_cache_size. Regards Gaetano Mendola