Re: Vacuuming TOAST after pg_restore

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Vacuuming TOAST after pg_restore
Дата
Msg-id c0f5e164089553e82d7297e22bd6efdf8bf01346.camel@cybertec.at
обсуждение исходный текст
Ответ на Vacuuming TOAST after pg_restore  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список pgsql-admin
On Mon, 2023-12-18 at 17:26 -0500, Ron Johnson wrote:
> PG 14.10
>
> In the immediate post-pg_restore vaccumdb, can I skip immediate vacuuming of TOAST tables?
>
> Heck, can I skip the immediate VACUUM, and only do an ANALYZE (then go back later and VACUUM)?

You don't have to do that at all, autovacuum will do it for you (ANALYZE if the
tables contain more than 50 rows, and VACUUM if they contain more than 1000 rows).

It just takes some more time to let autovacuum do it.

Yours,
Laurenz Albe



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Vacuuming TOAST after pg_restore
Следующее
От: lejeczek
Дата:
Сообщение: highest timeline xxx of the primary is behind recovery timeline - backup of the underlying filesystem