---
title: "Comment by Parsa Aftabi on \"PostgreSQL MVCC Autovacuum Starvation: HOT Update Breakdown & Table Bloat under Heavy Write Loads\" | Hashnode"
description: "Good explainer. The operational side I'd add: set autovacuum_vacuum_scale_factor (and threshold) per-table for your hottest tables instead of relying on the glo"
url: "https://hashnode.com/posts/postgresql-mvcc-autovacuum-starvation-hot-update-breakdown/6ac9098d28e52327ada92fbb/comment/6ac964984f787159f5dfe265"
---

[Discussion](https://hashnode.com/posts/postgresql-mvcc-autovacuum-starvation-hot-update-breakdown/6ac9098d28e52327ada92fbb)

Comment [PostgreSQL MVCC Autovacuum Starvation: HOT Update Breakdown & Table Bloat under Heavy Write Loads](https://hashnode.com/posts/postgresql-mvcc-autovacuum-starvation-hot-update-breakdown/6ac9098d28e52327ada92fbb)

[Parsa Aftabi](https://hashnode.com/@parsaaftabi)

[Oct 9](https://hashnode.com/posts/postgresql-mvcc-autovacuum-starvation-hot-update-breakdown/6ac9098d28e52327ada92fbb/comment/6ac964984f787159f5dfe265)

Good explainer. The operational side I'd add: set autovacuum\_vacuum\_scale\_factor (and threshold) per-table for your hottest tables instead of relying on the global defaults. Defaults are tuned for average workloads, not hundreds of millions of rows. Two other classics. Fillfactor below 100 on heavily-updated tables is what makes HOT updates possible in the first place (no free space, no HOT). And a single long-running transaction can block vacuum for the whole table. pg\_stat\_activity is the first place I look when n\_dead\_tup keeps climbing.
