AW: vacuum full doubled database size

From: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
To: 'Michael Loftis' <mloftis(at)wgops(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: AW: vacuum full doubled database size
Date: 2020-03-13 13:48:49
Message-ID: 148e1731fc5645aca8b4a3af271b6500@zuerich.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Von: Michael Loftis <mloftis(at)wgops(dot)com>
Gesendet: Freitag, 13. März 2020 14:48
An: Zwettler Markus (OIZ) <Markus(dot)Zwettler(at)zuerich(dot)ch>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)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(dot)Zwettler(at)zuerich(dot)ch<mailto:Markus(dot)Zwettler(at)zuerich(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Blanke 2020-03-13 14:29:57 Re: ERROR: invalid memory alloc request size 1073741824
Previous Message Michael Loftis 2020-03-13 13:47:32 Re: vacuum full doubled database size