pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 1726002692@qq.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17382: When vacuum full or vacuumdb - F is executed, a large number of empty files will be generated in the
Date: Wed, 26 Jan 2022 10:29:45 -0500
Message-ID: <2441394.1643210985@sss.pgh.pa.us> (raw)
In-Reply-To: <17382-9b238ae4286aef7d@postgresql.org>
References: <17382-9b238ae4286aef7d@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> When vacuum full or vacuumdb - F is executed, a large number of empty files
> will be generated in the database. These files have never been deleted.
> Each execution of vacuum full or vacuudb - F will produce a large number of
> empty files.These empty files will not be deleted until the database is
> restarted.
> Is this a bug?

It might be if you could tell us how to reproduce it --- I see no
such behavior here.

In general, PG uses numerically-named files for table contents,
but they should always appear in subdirectories of $PGDATA, never
in the directory's top level.  So I have no idea what those are
or what put them there.  Perhaps you are using some unusual
extension or custom C code that creates them?

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <2441394.1643210985@sss.pgh.pa.us>
Permalink:  ../2441394.1643210985@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2441394.1643210985@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, 1726002692@qq.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17382: When vacuum full or vacuumdb - F is executed, a large number of empty files will be generated in the
  In-Reply-To: <2441394.1643210985@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