Kars CS Notes

Engineering notes on Linux networking, storage engines, and distributed systems.

Keeping PostgreSQL Autovacuum Ahead of High-Churn Queues

Published 2026-11-13 · Databases

Practical per-table autovacuum scale factors and HOT update hygiene for append-heavy tables.

Default autovacuum_vacuum_scale_factor (0.2) waits too long on multi-million-row job tables. Setting per-table cost limits, fillfactor=85, and avoiding indexed status updates enables Heap-Only Tuple (HOT) updates and cuts index bloat by over half.

← Back to Home