Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,
Дата
Msg-id 1238704376.5444.142.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 2009-04-02 at 15:49 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > Can we add "batches=N" to the EXPLAIN output for Hash and/or Hash Join?
> 
> Are you talking about expected batches, or actual batches?  

Expected batches for EXPLAIN, both for EXPLAIN ANALYZE.

> If the
> former, would it be sufficient to distinguish "1" from "more than 1"?
> If so, maybe changing the node title to "Batched Hash" would do.

Hmmm, knowing the number of batches is beneficial since it helps you to
calculate the required memory to get best performance.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: fix - function call with variadic parameter for type "any"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: fix - function call with variadic parameter for type "any"