pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hannes Erven <hannes@erven.at>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Unused files in the database directory after crashed VACUUM FULL
Date: Sun, 10 Feb 2019 15:53:03 +0000
Message-ID: <87ftsvr6e7.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <17143.1549813268@sss.pgh.pa.us>
References: <da60fd67-f660-39f2-764f-c5792ca568e8@erven.at>
	<17143.1549813268@sss.pgh.pa.us>

>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 > Hannes Erven <hannes@erven.at> writes:
 >> I've just had a "VACUUM FULL <table>" crash due to 100% disk usage.
 >> Clearly my fault, I was expecting the new table to be small enough.

 Tom> What do you mean by "crash" exactly? A normal transactional
 Tom> failure should've cleaned up orphaned files. I suppose if the
 Tom> kernel decided to kill -9 the vacuum process, that wouldn't happen
 Tom> --- but that's not the usual response to out-of-disk-space.

The failure mode of this kind we see reported most often is getting a
PANIC failure from inability to extend the WAL.

-- 
Andrew (irc:RhodiumToad)




view thread (6+ messages)  latest in thread

Message-ID: <87ftsvr6e7.fsf@news-spur.riddles.org.uk>
Permalink:  ../87ftsvr6e7.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87ftsvr6e7.fsf@news-spur.riddles.org.uk

 · 

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: andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, hannes@erven.at
  Subject: Re: Unused files in the database directory after crashed VACUUM FULL
  In-Reply-To: <87ftsvr6e7.fsf@news-spur.riddles.org.uk>
  References: <da60fd67-f660-39f2-764f-c5792ca568e8@erven.at> <17143.1549813268@sss.pgh.pa.us> <87ftsvr6e7.fsf@news-spur.riddles.org.uk>

* 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