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 741A532A7C4 for ; Mon, 11 Oct 2004 15:26:14 +0100 (BST) 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 36332-04 for ; Mon, 11 Oct 2004 14:26:05 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id BC95232A44B for ; Mon, 11 Oct 2004 15:26:08 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i9BEQ8f7005033; Mon, 11 Oct 2004 10:26:09 -0400 (EDT) To: HyunSung Jang Cc: pgsql-performance@postgresql.org Subject: Re: why my query is not using index?? In-reply-to: <41639F3C.4050103@siche.net> References: <41639F3C.4050103@siche.net> Comments: In-reply-to HyunSung Jang message dated "Wed, 06 Oct 2004 16:31:08 +0900" Date: Mon, 11 Oct 2004 10:26:08 -0400 Message-ID: <5032.1097504768@sss.pgh.pa.us> From: Tom Lane 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: 200410/137 X-Sequence-Number: 8613 HyunSung Jang writes: > can you explain to me why it's not doing that i expected?? Have you ANALYZEd this table recently? The estimated row counts seem way off. regards, tom lane