Re: select distinct, index not used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: select distinct, index not used
Дата
Msg-id 20152.1239900523@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: select distinct, index not used  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
Sam Mason <sam@samason.me.uk> writes:
> On Thu, Apr 16, 2009 at 11:29:25AM -0400, Tom Lane wrote:
>> , a full table indexscan isn't going to be particularly fast in
>> any case; it's often the case that seqscan-and-sort is the right
>> decision.

> Is PG capable of "skipping" over duplicate values using an index?

No, not at present.  It's on the TODO list.

            regards, tom lane

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: select distinct, index not used
Следующее
От: Gustavo Rosso
Дата:
Сообщение: triggers