Re: select distinct and index usage

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: select distinct and index usage
Дата
Msg-id 20080408021658.GJ5095@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: select distinct and index usage  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: select distinct and index usage
Список pgsql-general
Tom Lane escribió:

> What I think you'll find, though, is that once you do force an indexscan
> to be picked it'll be slower.  Full-table index scans are typically
> worse than seqscan+sort, unintuitive though that may sound.

Hmm, should we switch the CLUSTER code to do that?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: select distinct and index usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: select distinct and index usage