Re: Vacuuming TOAST after pg_restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux