From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: ap@zip.com.au
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15427: DROP INDEX did not free up disk space
Date: Fri, 12 Oct 2018 00:33:14 -0400
Message-ID: <6513.1539318794@sss.pgh.pa.us> (raw)
In-Reply-To: <20181012040958.7rvh5bp2pjwjzbof@alap3.anarazel.de>
References: <15427-d5b9573b9e5bdf29@postgresql.org>
<20181012033714.2ooabwtwk2qwxk2q@alap3.anarazel.de>
<5299.1539316636@sss.pgh.pa.us>
<20181012040958.7rvh5bp2pjwjzbof@alap3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> On 2018-10-11 23:57:16 -0400, Tom Lane wrote:
>> Uh, what's that got to do with it?
> If you look at the bugreport: As soon as the op, on my suggestion,
> triggered sinval processing (by issuing a SELECT 1;) the space was
> freed. So clearly the open FDs were part of the problem.
TBH, I think the space-freeup was more likely driven off a background
checkpoint completion, which is where the truncation happens.
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 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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, ap@zip.com.au
Subject: Re: BUG #15427: DROP INDEX did not free up disk space
In-Reply-To: <6513.1539318794@sss.pgh.pa.us>
References: <15427-d5b9573b9e5bdf29@postgresql.org> <20181012033714.2ooabwtwk2qwxk2q@alap3.anarazel.de> <5299.1539316636@sss.pgh.pa.us> <20181012040958.7rvh5bp2pjwjzbof@alap3.anarazel.de> <6513.1539318794@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