Re: SELECT creates millions of temp files in a single directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Peter <pmc(at)citylink(dot)dinoex(dot)sub(dot)org>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: SELECT creates millions of temp files in a single directory
Date: 2022-04-23 20:57:48
Message-ID: 3987446.1650747468@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> v12 what?

That ...

> It would help if you can provide a self-contained demonstration
> that others can then verify and debug (or explain).

... and that. As this message stands, it's undocumented whining.
Please see

https://wiki.postgresql.org/wiki/Slow_Query_Questions

for the sort of information we need to debug performance issues.
There's also

https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

although that's not oriented specifically to performance issues.

(I recall that we have fixed some problems in the past that could
lead to unreasonable numbers of temp files in hash joins. Whether
there's more to do, or Peter is running a version that lacks those
fixes, is impossible to tell with the given info.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2022-04-23 21:03:57 Re: SELECT creates millions of temp files in a single directory
Previous Message Karsten Hilbert 2022-04-23 20:47:22 Re: PG14: "is of" vs pg_typeof