Re: Disk-based hash aggregate's cost model

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Disk-based hash aggregate's cost model
Дата
Msg-id b805637251965df210ab4f15f1ac17f8484dd9c8.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Disk-based hash aggregate's cost model  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Ответы Re: Disk-based hash aggregate's cost model
Список pgsql-hackers
On Sun, 2020-09-06 at 23:21 +0200, Tomas Vondra wrote:
> I've tested the costing changes on the simplified TPC-H query, on two
> different machines, and it seems like a clear improvement.

Thank you. Committed.

> So yeah, the patched costing is much closer to sort (from the point
> of
> this cost/duration metric), although for higher work_mem values
> there's
> still a clear gap where the hashing seems to be under-costed by a
> factor
> of ~2 or more.

There seems to be a cliff right after 4MB. Perhaps lookup costs on a
larger hash table?

Regards,
    Jeff Davis




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Auto-vectorization speeds up multiplication of large-precision numerics
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: v13: show extended stats target in \d