Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Дата
Msg-id 26281.1044982404@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> The query actually runs slightly slower in CVS than with 7.3, though
> it's hard to compare because it seems to have done everything
> differently. Every hash join has become a merge join and every merge
> join has become a hash join :/

The estimated row counts for the bottom-level scans show some
differences, which probably account for the differing choice of plans.

Are these actually the same data with up-to-date ANALYZE stats in both
cases?  I do not recall that we've made any adjustments to the basic
statistical estimation routines since 7.3 ...

            regards, tom lane

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

Предыдущее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: selects with large offset really slow
Следующее
От: Phil Howard
Дата:
Сообщение: mailing list archives