Re: Organize working memory under per-PlanState context

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: Organize working memory under per-PlanState context
Дата
Msg-id 7dc34031-fe8b-4ba5-b3d1-2ce87ce91ed8@gmail.com
обсуждение исходный текст
Ответ на Re: Organize working memory under per-PlanState context  (Chao Li <li.evan.chao@gmail.com>)
Ответы Re: Organize working memory under per-PlanState context
Список pgsql-hackers
On 20/8/2025 07:38, Chao Li wrote:
> I know some memory must be retained until the entire query finishes. But 
> those per-node memories, such as hash table, might be destroyed 
> immediately after a node finishes.
I'm not sure I understand your reasoning clearly. How do you know that 
the current subtree will not be rescanned with the same parameter set? 
Building a hash table repeatedly may be pretty costly, no?

-- 
regards, Andrei Lepikhov



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