Re: Can this be indexed?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Can this be indexed?
Дата
Msg-id 20041109021815.GB14080@wolff.to
обсуждение исходный текст
Ответ на Re: Can this be indexed?  ("Jerry III" <jerryiii@hotmail.com>)
Список pgsql-general
On Sun, Nov 07, 2004 at 09:29:30 +0000,
  Jerry III <jerryiii@hotmail.com> wrote:
> But if you do build an index over "id" then pgsql would only have to do a
> sequential scan on that index, which might be a lot faster if your table
> contains a lot of other data, won't it?

A full table index scan will be slower than a sequential scan; typically by
a lot. In the old days a sort step would have been needed and that would have
slowed things down. Now a method using hashing is available that will
work unless there is an extremely large number of unique values for "id".

В списке pgsql-general по дате отправления:

Предыдущее
От: Joel
Дата:
Сообщение: Re: Postresql RFD version 2.0 Help Wanted.
Следующее
От: "Ed L."
Дата:
Сообщение: Re: server auto-restarts and ipcs