Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 8B31F2E003C for ; Tue, 6 May 2008 11:22:23 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 76877-04 for ; Tue, 6 May 2008 11:22:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id 958B42E0039 for ; Tue, 6 May 2008 11:22:13 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m46EM7tE013632; Tue, 6 May 2008 10:22:07 -0400 (EDT) To: Vlad Arkhipov cc: pgsql-performance@postgresql.org Subject: Re: Seqscan problem In-reply-to: <48203D7B.2000809@dc.baikal.ru> References: <48203D7B.2000809@dc.baikal.ru> Comments: In-reply-to Vlad Arkhipov message dated "Tue, 06 May 2008 20:14:03 +0900" Date: Tue, 06 May 2008 10:22:07 -0400 Message-ID: <13631.1210083727@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/79 X-Sequence-Number: 30047 Vlad Arkhipov writes: > I've just discovered a problem with quite simple query. It's really > confusing me. > Postgresql 8.3.1, random_page_cost=1.1. All tables were analyzed before > query. What have you got effective_cache_size set to? regards, tom lane