Re: vacuum of pg_attribute and other infrastructure tables

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: vacuum of pg_attribute and other infrastructure tables
Дата
Msg-id 3e07076a17ae160c230dd3685fedc5d53f83e19d.camel@cybertec.at
обсуждение исходный текст
Ответ на vacuum of pg_attribute and other infrastructure tables  (Mark Steben <mark.steben@drivedominion.com>)
Ответы Re: vacuum of pg_attribute and other infrastructure tables
Список 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




В списке pgsql-admin по дате отправления:

Предыдущее
От: ALEXANDER JOSE
Дата:
Сообщение: RE: Psql: could not connect to server: No such file or directory
Следующее
От: Mark Steben
Дата:
Сообщение: Re: vacuum of pg_attribute and other infrastructure tables