Re: BUG #18909: Query creates millions of temporary files and stalls

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: BUG #18909: Query creates millions of temporary files and stalls
Дата
Msg-id 8fc51cd7-115a-425a-828e-c99defb5afef@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18909: Query creates millions of temporary files and stalls  (Sergey Koposov <Sergey.Koposov@ed.ac.uk>)
Ответы Re: BUG #18909: Query creates millions of temporary files and stalls
Список pgsql-bugs
On 3/5/2025 18:52, Sergey Koposov wrote:
> On Sat, 2025-05-03 at 12:27 -0400, Tom Lane wrote:
>> Yeah, this confirms the idea that the hashtable has exploded into an
>> unreasonable number of buckets and batches.  I don't know why a
>> parallel hash join would be more prone to do that than a non-parallel
>> one, though.  I'm hoping some of the folks who worked on PHJ will
>> look at this.
> Here're  my memory settings
> 
> shared_buffers = 32GB
> work_mem = 1GB
May you show statistics from the pg_statistic table on two columns:
"d.objid" and "gaps1.original_ext_source_id"? At least stanullfrac, 
stadistinct, stawidth and MCV frequencies.

Also, an EXPLAIN ANALYZE on this query, which successfully finished 
execution without parallel workers, might provide quick insights.

-- 
regards, Andrei Lepikhov



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