VACUUM
A maintenance operation that removes dead rows and reclaims disk space in a database.
In many databases (especially PostgreSQL) DELETE doesn't actually erase rows—instead it marks them dead for multi-version concurrency control. VACUUM scans for these marked rows and reclaims their disk space for reuse. Without VACUUM, tables grow on disk even as data is deleted (table bloat). Indexes can also bloat. PostgreSQL runs VACUUM automatically via the autovacuum daemon, but DBAs may need to run manual or aggressive VACUUM after large deletes or when indexes become severely fragmented.
VACUUM is one of the most misunderstood operations in PostgreSQL. It's not optional—it's essential maintenance that must run regularly to keep a database healthy. Full VACUUM is table-blocking and slow; incremental VACUUM is incremental and can run during business hours.