About index ...

From: <pejac(at)altern(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: About index ...
Date: 2000-10-11 07:03:34
Message-ID: 200010110747.e9B7l2r38347@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

First, excuse me for my english. I have 33 tables ( with millions rows ) and
for most tables i use btree index. My problem is when
i use explain directive. In fact btree index work only
with operator "=" . eg: select * from test where id = 45
EXPLAIN
Index scan using idx_id on test
an doesn't work with select * from test where id < 45.
EXPLAIN
Seq scan on test
Why ???

Thanks

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Gerhard Kroder 2000-10-11 08:38:44 mail-test, just discard
Previous Message Bill Morrow 2000-10-10 14:54:10 Re: Selecting weekdays from datetime