Re: vacuum of pg_attribute and other infrastructure tables

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Mark Steben <mark(dot)steben(at)drivedominion(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: vacuum of pg_attribute and other infrastructure tables
Date: 2019-05-02 16:10:33
Message-ID: 3e07076a17ae160c230dd3685fedc5d53f83e19d.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mark Steben wrote:
> I would like to vacuum full pg_attribute and some other postgres infrastructure tables to eliminate bloat.
> Could you please confirm that the recommended method to do this is to
> stop postgres, restart in single user mode, and issue the vacuum command?

That is not necessary. Just run the VACUUM (FULL) as superuser.

Concurrent access to pg_attribute will be blocked, which means that
the database is pretty much unusable, but you don't need single
user mode.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Steben 2019-05-02 16:36:14 Re: vacuum of pg_attribute and other infrastructure tables
Previous Message ALEXANDER JOSE 2019-05-02 16:08:23 RE: Psql: could not connect to server: No such file or directory