Re: Bad Plan for Questionnaire-Type Query

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Bad Plan for Questionnaire-Type Query
Дата
Msg-id 4A29AB1C.5080907@agliodbs.com
обсуждение исходный текст
Ответ на Re: Bad Plan for Questionnaire-Type Query  (David Blewett <david@dawninglight.net>)
Ответы Re: Bad Plan for Questionnaire-Type Query  (David Blewett <david@dawninglight.net>)
Список pgsql-performance
David,

My first thought would be to increase statistics dramatically on the
filtered columns in hopes of making PG realize there's a lot of rows
there; it's off by 8x.  Correlations stats are an ongoing issue in
PostgreSQL.


--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com

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

Предыдущее
От: David Blewett
Дата:
Сообщение: Re: Bad Plan for Questionnaire-Type Query
Следующее
От: David Blewett
Дата:
Сообщение: Re: Bad Plan for Questionnaire-Type Query