Configuration parameter

autovacuum_vacuum_insert_scale_factor — PostgreSQL Configuration Parameter

Category Autovacuum Default 0.2 Unit boolean / enum / numeric Change scope Reload (no restart)

Insert-driven autovacuum threshold fraction (PG13+).

At a glance

Property Value
Parameter autovacuum_vacuum_insert_scale_factor
Category Autovacuum
Default 0.2
Value type boolean / enum / numeric
Change scope Reload (no restart)

What it does

Insert-only tables are vacuumed when inserted rows exceed autovacuum_vacuum_insert_threshold + scale_factor x reltuples, keeping the visibility map and freezing current.

How to apply a change

Takes effect on configuration reload (sighup context). Run SELECT pg_reload_conf(); or send SIGHUP — no restart needed.

Inspect the current value and source with SHOW autovacuum_vacuum_insert_scale_factor; or SELECT name, setting, unit, context, source FROM pg_settings WHERE name = 'autovacuum_vacuum_insert_scale_factor';.

Tuning guidance

Helps append-only tables get frozen and index-only-scannable. Lower per-table on large insert-only tables.

Reference

PostgreSQL documentation — Autovacuum configuration.

Was this helpful?

← All configuration parameters