Re: Unused index influencing sequential scan plan

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Unused index influencing sequential scan plan
Дата
Msg-id CAA-aLv4hdDaNcXtjy4zfW16hMs8g0aboHp1NJPn+UcsaQN2L6g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unused index influencing sequential scan plan  (Peter Geoghegan <peter@2ndquadrant.com>)
Список pgsql-performance
On 18 October 2012 17:24, Peter Geoghegan <peter@2ndquadrant.com> wrote:
> On 18 October 2012 17:11, Thom Brown <thom@linux.com> wrote:
>> The estimate is down to almost a 10th of what it was before.  What's going on?
>
> Even though the index isn't used, the pg_statistic entries that the
> expression index would have made available are. It's as if you
> materialised the expression into a column, analyzed and grouped by
> that.

D'oh, of course!  Thanks Peter.

--
Thom


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unused index influencing sequential scan plan
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Unused index influencing sequential scan plan