Re: Query optimization and indexes

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Query optimization and indexes
Дата
Msg-id 8764gprowa.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Query optimization and indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Query optimization and indexes
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Before (if memory serves) 8.1, the planner would only consider leading
> index columns as potential indexscan qualifiers.  So given
>
>     where a = 5 and c = 4;
>
> only the a = 5 clause would be used with the index.  As of 8.1 it will
> consider using nonconsecutive index columns

Really? Is this the "skip scan" plan people were pining for? I missed when
that happened.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

Предыдущее
От: "Nicolas Barbier"
Дата:
Сообщение: Re: Importance of re-index
Следующее
От: "Dwight Emmons"
Дата:
Сообщение: Cast null string '' to integer 0