pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Peter <pmc@citylink.dinoex.sub.org>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: SELECT creates millions of temp files in a single directory
Date: Sat, 23 Apr 2022 16:57:48 -0400
Message-ID: <3987446.1650747468@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwZcRXCKceEckh4zrSpqJ_RA4=Dzx4Msw2hcpByz4XyWRA@mail.gmail.com>
References: <YmRYiVuzXa/SN8ZM@gate.intra.daemon.contact>
	<CAKFQuwZcRXCKceEckh4zrSpqJ_RA4=Dzx4Msw2hcpByz4XyWRA@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.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





view thread (11+ messages)  latest in thread

Message-ID: <3987446.1650747468@sss.pgh.pa.us>
Permalink:  ../3987446.1650747468@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3987446.1650747468@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, pmc@citylink.dinoex.sub.org
  Subject: Re: SELECT creates millions of temp files in a single directory
  In-Reply-To: <3987446.1650747468@sss.pgh.pa.us>
  References: <YmRYiVuzXa/SN8ZM@gate.intra.daemon.contact> <CAKFQuwZcRXCKceEckh4zrSpqJ_RA4=Dzx4Msw2hcpByz4XyWRA@mail.gmail.com> <3987446.1650747468@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