Re: Sub-optimal plan chosen

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sub-optimal plan chosen
Дата
Msg-id 24520.1252597391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Sub-optimal plan chosen  (bricklen <bricklen@gmail.com>)
Ответы Re: Sub-optimal plan chosen  (bricklen <bricklen@gmail.com>)
Список pgsql-performance
bricklen <bricklen@gmail.com> writes:
> Is there any other data I can provide to shed some light on this?

The table and index definitions?

The straight indexscan would probably win if the index column order
were ofid, date instead of date, ofid.  I can't tell if you have
any other queries for which the existing column order is preferable,
though.

            regards, tom lane

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

Предыдущее
От: tv@fuzzy.cz
Дата:
Сообщение: Re: Sub-optimal plan chosen
Следующее
От: bricklen
Дата:
Сообщение: Re: Sub-optimal plan chosen