Re: planer picks a bad plan (seq-scan instead of index) when adding an additional join

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: planer picks a bad plan (seq-scan instead of index) when adding an additional join
Дата
Msg-id 14219.1163121862@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: planer picks a bad plan (seq-scan instead of index) when adding an additional join  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I wrote:
> This didn't matter a whole lot back when the planner couldn't reorder
> outer joins, but now that it can, it's more important that the estimates
> be accurate.

> I'm not sure if this is feasible to fix before 8.2, but I'll take a
> look.

Actually, the changes were far more localized than I first feared.
Please apply the attached patch to your copy and see what you get for
your problem query.

            regards, tom lane



Вложения

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

Предыдущее
От: Glen Parker
Дата:
Сообщение: Re: AutoVacuum on demand?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: zero values in statistic views