Re: Efficient date range search? - Mailing list pgsql-general

From Shridhar Daithankar
Subject Re: Efficient date range search?
Date
Msg-id 3DA2BF39.29493.13D4370C@localhost
Whole thread Raw
In response to Re: Efficient date range search?  (Jean-Luc Lachance <jllachan@nsd.ca>)
List pgsql-general
On 7 Oct 2002 at 13:32, Jean-Luc Lachance wrote:

> > select * from pets where died > [date] or died is null;
> Then you're back to whole table scan... :(

Well, if there is an index on died, it's rather an indexed scan as opposed to a
sequential scan as you are mentioning(hopefully).

Indexed scan are usually pretty quick if you select small amount of data from
entire table set. e.g.  10 pets from a million tuples..

Bye
 Shridhar

--
character density, n.:    The number of very weird people in the office.


pgsql-general by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: [HACKERS] Hot Backup
Next
From: Savita
Date:
Subject: How to find out about index