Re: Efficient date range search?

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Efficient date range search?
Дата
Msg-id 3DA2BF39.29493.13D4370C@localhost
обсуждение исходный текст
Ответ на Re: Efficient date range search?  (Jean-Luc Lachance <jllachan@nsd.ca>)
Список 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 по дате отправления:

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: [HACKERS] Hot Backup
Следующее
От: Savita
Дата:
Сообщение: How to find out about index