Re: hash join hashtable size and work_mem

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: hash join hashtable size and work_mem
Дата
Msg-id 1173908510.4160.76.camel@silverbirch.site
обсуждение исходный текст
Ответ на Re: hash join hashtable size and work_mem  ("Timothy J. Kordas" <tkordas@greenplum.com>)
Список pgsql-hackers
On Wed, 2007-03-14 at 10:28 -0700, Timothy J. Kordas wrote:
> I would expect for the same data a hash-join with a work_mem of 256MB
> to run faster than one run with 32MB; even if the inner relation is
> only 30MB. 

Certainly not for all data, but for some distrubutions yes, probably.

The easiest thing to do is prove thats true and then work out how to
spot that case ahead of time, or at least find a place where you can
adjust your assumptions cheaply enough to improve things.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: hash join hashtable size and work_mem
Следующее
От: Alvaro Herrera
Дата:
Сообщение: how to add seconds to a TimestampTz