indices

From: Sandeep Joshi <sjoshi(at)Zambeel(dot)com>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: indices
Date: 2000-11-30 01:31:16
Message-ID: 3A25ADE4.6830E134@zambeel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I had learned in theory that Hash indices are used for "=" and
B-tree for "<" ,">".

explain command doesn't tell us which index it is using. Hash or
Btree?
Also,
should a following query
"id < 1243" invoke a index ? (assuming there is an index on id).

I have seen Postgres using Seq scan. Is sequential scan done afer
getting the first
page for "1243"?

Sandeep

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2000-11-30 01:33:11 Re: Unanswered questions about Postgre
Previous Message Tom Lane 2000-11-30 01:27:40 Re: Unanswered questions about Postgre