Re: Unused index influencing sequential scan plan

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Unused index influencing sequential scan plan
Дата
Msg-id CAEYLb_XP7UEPdCwypJi97dcvgdpSBzoK0Rym1nmTp1Z5TtegFg@mail.gmail.com
обсуждение исходный текст
Ответ на Unused index influencing sequential scan plan  (Thom Brown <thom@linux.com>)
Ответы Re: Unused index influencing sequential scan plan
Список pgsql-performance
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.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Unused index influencing sequential scan plan
Следующее
От: Craig James
Дата:
Сообщение: Re: Two identical systems, radically different performance