Re: Registering LWTRANCHE_PARALLEL_HASH_JOIN

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Registering LWTRANCHE_PARALLEL_HASH_JOIN
Дата
Msg-id CA+Tgmoa_VUd3yWfHt7e-Kqpp4DCNhSgURcwtrU4L60_ns=+2fA@mail.gmail.com
обсуждение исходный текст
Ответ на Registering LWTRANCHE_PARALLEL_HASH_JOIN  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Registering LWTRANCHE_PARALLEL_HASH_JOIN
Список pgsql-hackers
On Sat, Feb 10, 2018 at 6:07 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> I forgot to register a display name for LWTRANCHE_PARALLEL_HASH_JOIN,
> the tranche ID used by the LWLock that Parallel Hash uses when handing
> out chunks of memory.  Please see attached.

I think that you need to insert some weasel words into the
documentation for this, because I don't think it's really accurate to
say that it's only used when trying to acquire a new chunk of memory.

Or maybe I'm wrong and it's altogether accurate ... but
ExecParallelHashMergeCounters doesn't look like an allocation to me,
and ExecParallelHashTuplePrealloc doesn't really look like an
allocation either.

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sigh, I broke crake again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Let's remove DSM_INPL_NONE.