I used to run VACUUM on my DB regularly, but I read multiple places that it's not recommended for postgres 12 because it now basically auto-vacuums? I guess? Can you tell I don't understand much about postgres??
Top-level
I used to run VACUUM on my DB regularly, but I read multiple places that it's not recommended for postgres 12 because it now basically auto-vacuums? I guess? Can you tell I don't understand much about postgres?? 3 comments
@darius autovacuum has been a thing for years. If you're running production stuff on postgres, I strongly recommend that you disable autovacuum and run it manually on a schedule, during off-peak hours. Thing about auto VACUUM is that postgres can decide to do it whenever. And if that's peak hours, the overhead of it will tank performance and can take down production. |
@darius unless you have special needs, let PostgreSQL do its own thing.