Re: Win2K Questions

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Win2K Questions
Дата
Msg-id 87r8dvfxti.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: Win2K Questions  (Jean-Luc Lachance <jllachan@nsd.ca>)
Список pgsql-general
Jean-Luc Lachance <jllachan@nsd.ca> writes:
> unless id is indexed there is nothing that can be done with
> select count(*) from table where id >10000;
> Otherwise, the index should be scanned, not the table.

Indexes don't store heap tuple visibility information; you'd need to
scan the heap as well in order to determine which tuples your
transaction can see.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Win2K Questions
Следующее
От: Benjamin Scherrey
Дата:
Сообщение: Re: Configuring postgresql build to handle long names