pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: Michael Loftis <mloftis@wgops.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: AW: vacuum full doubled database size
Date: Fri, 13 Mar 2020 13:48:49 +0000
Message-ID: <148e1731fc5645aca8b4a3af271b6500@zuerich.ch> (raw)
In-Reply-To: <CAHDg04sanUvk-DOsdi3-bctxWH7LBgSs=EDBZyP8zo4wYQemVw@mail.gmail.com>
References: <87ee68cc208c4775bd422277291fbcaf@zuerich.ch>
	<CAHDg04sanUvk-DOsdi3-bctxWH7LBgSs=EDBZyP8zo4wYQemVw@mail.gmail.com>

Thanks. How to get rid of it. New vacuum full?



Von: Michael Loftis <mloftis@wgops.com>
Gesendet: Freitag, 13. März 2020 14:48
An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Cc: pgsql-general <pgsql-general@postgresql.org>
Betreff: Re: vacuum full doubled database size

A vacuum full rebuilds the tables, so yeah if it didn’t successfully complete I would expect a lot of dead data.

On Fri, Mar 13, 2020 at 07:41 Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch<mailto:Markus.Zwettler@zuerich.ch>> wrote:
We did a "vacuum full" on a database which had been interrupted by a network outage.

We found the database size doubled afterwards.

Autovacuum also found a lot of orphaned tables afterwards.

The ophan temp objects went away after a cluster restart while the db size remained doubled.

Any idea?

Postgres 9.6.17


--

"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler


Message-ID: <148e1731fc5645aca8b4a3af271b6500@zuerich.ch>
Permalink:  ../148e1731fc5645aca8b4a3af271b6500@zuerich.ch/
Also on:    postgresql.org/message-id/148e1731fc5645aca8b4a3af271b6500@zuerich.ch

 · 

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: Markus.Zwettler@zuerich.ch, mloftis@wgops.com
  Subject: Re: vacuum full doubled database size
  In-Reply-To: <148e1731fc5645aca8b4a3af271b6500@zuerich.ch>
  References: <87ee68cc208c4775bd422277291fbcaf@zuerich.ch> <CAHDg04sanUvk-DOsdi3-bctxWH7LBgSs=EDBZyP8zo4wYQemVw@mail.gmail.com> <148e1731fc5645aca8b4a3af271b6500@zuerich.ch>

* 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