Re: Why date index is not used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why date index is not used
Дата
Msg-id 2268.1149805181@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why date index is not used  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-performance
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> And even then you better have a pretty high correlation on the first
> column, otherwise you'll still get a seqscan.

Not with the LIMIT.  (If he were fetching the whole table, very possibly
the sort would be the right plan anyway.)

            regards, tom lane

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Why date index is not used
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Regarding pg_dump utility