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

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Дата
Msg-id 87adh2pr46.fsf@stark.dyndns.tv
обсуждение исходный текст
Ответ на Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> You could probably persuade it that hashed aggregation will be okay by
> increasing sort_mem sufficiently.  But it would also be interesting to
> see if the number-of-groups estimate can be improved ... 15122 is rather
> badly off from the true value of 31 ...

My sort_mem is already quite large, 53M. I think that's large enough even for
15,122 rows.


--
greg

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: translating filenames into tablenames?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3