Re: Understanding Hash Join performance

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Understanding Hash Join performance
Дата
Msg-id BANLkTinN7Q_RXvs8qSuzdih0+9v7fe432g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Understanding Hash Join performance  (Claudio Freire <klaussfreire@gmail.com>)
Список pgsql-performance
On Thu, Jun 2, 2011 at 2:56 PM, Claudio Freire <klaussfreire@gmail.com> wrote:
> On Thu, Jun 2, 2011 at 4:57 PM, Kevin Grittner
> <Kevin.Grittner@wicourts.gov> wrote:
>> And the
>> planner does take the size of work_mem and the expected data set
>> into consideration when estimating the cost of the hash join.
>
> And shouldn't it?
>
> In a gross mode, when hash joins go to disk, they perform very poorly.
> Maybe the planner should take that into account.

It does.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: CS DBA
Дата:
Сообщение: Re: Problem query
Следующее
От: pasman pasmański
Дата:
Сообщение: Re: Why we don't want hints Was: Slow count(*) again...