From: Tom Lane <tgl@sss.pgh.pa.us>
To: skoposov@ed.ac.uk
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18909: Query creates millions of temporary files and stalls
Date: Fri, 02 May 2025 18:12:58 -0400
Message-ID: <2051617.1746223978@sss.pgh.pa.us> (raw)
In-Reply-To: <18909-e5e1b702c9441b8a@postgresql.org>
References: <18909-e5e1b702c9441b8a@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> I have a query: ...
> that I ran (from python client), and after it didn't finish in ~ an hour, i
> started to investigate, finding that the pgsql_tmp folder had 15 million
> temporary files from that query.
Does it behave any better if you disable parallelism
(set max_parallel_workers_per_gather = 0) ?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, skoposov@ed.ac.uk, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18909: Query creates millions of temporary files and stalls
In-Reply-To: <2051617.1746223978@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox