Re: Vacuum Full not clean the table

From: Holger Jakobs <holger(at)jakobs(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Vacuum Full not clean the table
Date: 2023-02-07 16:56:22
Message-ID: 8aacabc6-5919-5f37-9c9a-2a3cd67adfa3@jakobs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Am 07.02.23 um 17:51 schrieb Erik Serrano:
> Dear All,
>
> Along with saying hello, I would like to consult about a failure that
> is happening to me with a PG 9.2 base and with a table that weighs
> 116GB and its index 13Gb, mounted on a Linux Centos 7.2 with 4Core and
> 32Ram.
> The failure occurs mainly in that I execute a Vacuum Full on the table
> and it ends after 6 hours, but it does not clean anything. When
> checking the dead tuples I realize that they follow the same dirty
> records in the table. REF: (table of 420MM records with 20MM dead tuples)
>
> I hope you can guide me in finding a solution to clean that table.
>
> Greetings and many thanks to the Postgresql.org community
> Atte.
>
> /*
> */
> /*Erik Serrano*/
>

Hi Erik,

Does it end cleanly or with an error after 6 hours?

Do you have enough disk space for the vacuum full? The old and the newly
written data have to exist at the same time. Only after a successful
vacuuming the old data get deleted.

BTW, PG 9.2 has been out of service for quite some time. Only versions
11 to 15 are supported, with the support for version 11 lasting less
than a year.

Kind Regards,

Holger

--
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2023-02-07 18:17:09 Re: Vacuum Full not clean the table
Previous Message Erik Serrano 2023-02-07 16:51:43 Vacuum Full not clean the table