Products | Versions |
---|---|
TIBCO Data Virtualization | All Supported Versions |
In PostgreSQL, auto-vacuum is a process that automatically reclaims storage space and optimizes the performance of database tables. All it does is sleep for a while and check periodically if a table requires processing.
To disable auto-vacuum, change the below line
-----------
#autovacuum = on
-----------
To:
-----------
autovacuum = off
-----------
1. Auto-Vacuum: Enabled
Autovacuum takes care of:
ANALYZE
)"Creating statistics for the PostgreSQL optimizer" is a critical operation handled by Auto-Vacuum.
Furthermore, the PostgreSQL optimizer heavily relies on statistics to estimate the number of rows returned by various operations and strives to determine the most efficient query optimization strategy.
Cleaning out unwanted dead rows is another important advantage of leaving Auto-vacuum enabled.
2. Auto-Vacuum: Disabled
Consequently, disabling Auto-Vacuum is not recommended, as it would lead to the following downsides: