Re: Slow query: bitmap scan troubles

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: Slow query: bitmap scan troubles
Дата
Msg-id CAGTBQpZa4Ru68pu6GiewBZUNk1hw8OObXaks6=Lt+-0qBdhjsg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Slow query: bitmap scan troubles  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Slow query: bitmap scan troubles  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-performance
On Wed, Dec 5, 2012 at 2:39 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> I'm not sure that this change would fix your problem, because it might
> also change the costs of the alternative plans in a way that
> neutralizes things.  But I suspect it would fix it.  Of course, a
> correct estimate of the join size would also fix it--you have kind of
> a perfect storm here.

As far as I can see on the explain, the misestimation is 3x~4x not 200x.


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Slow query: bitmap scan troubles
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Slow query: bitmap scan troubles