Received: from web10002.mail.yahoo.com (web10002.mail.yahoo.com [216.136.130.38]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eBCEJTm74736 for ; Tue, 12 Dec 2000 09:19:29 -0500 (EST) (envelope-from mrk279@yahoo.com) Message-ID: <20001212141948.3463.qmail@web10002.mail.yahoo.com> Received: from [212.95.170.196] by web10002.mail.yahoo.com; Tue, 12 Dec 2000 06:19:48 PST Date: Tue, 12 Dec 2000 06:19:48 -0800 (PST) From: R D Subject: Index usage ? To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200012/71 X-Sequence-Number: 263 Hi, I'm making a database with table of over 50 000 000 i created index on some columns but they are used only in range search (e.g. WHERE column<100 AND column>10) and point rearch (e.g. WHERE column=100). When I try to execute some queries using only <,>,<= or >= index is not used. So is there any way to force ysage of the index with this conditions. I'm using BTREE as noted in Pg users guide. please help! regards, Rumen __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/