PostgreSQL: how to enable autovacuum?

How to enable autovacuum in PostgreSQL? I understand the goal, I just can’t find a simple answer on how to turn it on.

+5
source share
1 answer

Auto vacuum is on by default. For small databases, just do nothing and everything will work fine. To confirm, check

SHOW autovacuum; 

in psql . He must report on .

Large and busy databases sometimes require tuning to make automatic start more often or focus more on busy queue tables. See the manual for more information on setting up auto vacuum.

+12
source

Source: https://habr.com/ru/post/1234656/


All Articles