pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maxim Boguk <maxim.boguk@gmail.com>
Cc: Manoj Kumar <manojkumar@ameyo.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16739: Temporary files not deleting from data folder on disk
Date: Tue, 24 Nov 2020 13:59:02 -0500
Message-ID: <294248.1606244342@sss.pgh.pa.us> (raw)
In-Reply-To: <CAK-MWwTceRPAzgndNQomRLB_no43EWEAVK=efG8-VabbTVm5Kw@mail.gmail.com>
References: <16739-01bbd1b6e3a30313@postgresql.org>
	<57259.1606145601@sss.pgh.pa.us>
	<CAO-7TQPk5nHpB+n5Lmv2xPRXhPLgpr47tvO0Lr_Ghk8A_dkitg@mail.gmail.com>
	<CAK-MWwTceRPAzgndNQomRLB_no43EWEAVK=efG8-VabbTVm5Kw@mail.gmail.com>

Maxim Boguk <maxim.boguk@gmail.com> writes:
> It seems that these temp files are the result of normal query execution
> (and will be cleared when query finishes).
> Have you tried enabling log_temp_files and check what query generates these
> temp files?

Judging by the file names, these are temp tables (created by CREATE TEMP
TABLE or the like), not temp files generated during query execution.
The latter would have names beginning in "pgsql_tmp", if I read the
code correctly.

			regards, tom lane





view thread (12+ messages)  latest in thread

Message-ID: <294248.1606244342@sss.pgh.pa.us>
Permalink:  ../294248.1606244342@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/294248.1606244342@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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, maxim.boguk@gmail.com, manojkumar@ameyo.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16739: Temporary files not deleting from data folder on disk
  In-Reply-To: <294248.1606244342@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