HorizonDB - Autovacuum

This article lists parameters shared by PostgreSQL 17 and PostgreSQL 18 (Preview). Version-specific entries follow where their attributes or availability differ.

Template value is the configuration template's value, not a verification of your compute pool's effective value. A hyphen (-) means the template doesn't declare the attribute. It doesn't mean that a parameter is writable or dynamic.

For your compute pool's configured and effective values, see List and filter parameters.

Shared parameters

autovacuum

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Starts the autovacuum subprocess.
Data type boolean
Template value on
Allowed values on,off
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_analyze_scale_factor

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Number of tuple inserts, updates, or deletes before analyze as a fraction of reltuples.
Data type numeric
Template value 0.02
Allowed values 0-100
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_analyze_threshold

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Minimum number of tuple inserts, updates, or deletes before analyze.
Data type integer
Template value 50
Allowed values 0-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_freeze_max_age

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Age at which autovacuum runs on a table to prevent transaction ID wraparound.
Data type integer
Template value 400000000
Allowed values 100000-2000000000
Read-only -
Parameter type static
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_multixact_freeze_max_age

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Multixact age at which to autovacuum a table to prevent multixact wraparound.
Data type integer
Template value 400000000
Allowed values 10000-2000000000
Read-only -
Parameter type static
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_naptime

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Time to sleep between autovacuum runs.
Data type integer
Template value 30
Unit s
Allowed values 1-2147483
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_vacuum_cost_delay

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Vacuum cost delay in milliseconds, for autovacuum.
Data type integer
Template value 2
Unit ms
Allowed values -1-100
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_vacuum_cost_limit

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Vacuum cost amount available before napping, for autovacuum.
Data type integer
Template value -1
Allowed values -1-10000
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_vacuum_insert_scale_factor

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Number of tuple inserts before vacuum as a fraction of reltuples.
Data type numeric
Template value 0.2
Allowed values 0-100
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_vacuum_insert_threshold

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Minimum number of tuple inserts before vacuum runs, or -1 to disable insert vacuums.
Data type integer
Template value 1000
Allowed values -1-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_vacuum_scale_factor

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Number of tuple updates or deletes before vacuum as a fraction of reltuples.
Data type numeric
Template value 0.05
Allowed values 0-100
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

autovacuum_vacuum_threshold

Attribute Value
Category Autovacuum
PostgreSQL versions 17, 18 (Preview)
Description Minimum number of tuple updates or deletes before vacuum.
Data type integer
Template value 50
Allowed values 0-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

PostgreSQL 17

autovacuum_max_workers

Attribute Value
Category Autovacuum
Description Sets the maximum number of autovacuum worker processes that run at the same time.
Data type integer
Template value 3
Allowed values 1-1024
Read-only -
Parameter type static
Documentation autovacuum_max_workers

PostgreSQL 18 (Preview)

autovacuum_max_workers (PostgreSQL 18)

Attribute Value
Category Autovacuum
Description Sets the maximum number of autovacuum worker processes that run at the same time.
Data type integer
Template value 3
Allowed values 1-1024
Read-only -
Parameter type -
Documentation autovacuum_max_workers

autovacuum_vacuum_max_threshold (PostgreSQL 18)

Attribute Value
Category Autovacuum
Description Maximum number of tuple updates or deletes before vacuum. Set to -1 to disable the maximum threshold.
Data type integer
Template value 5000000
Allowed values -1-2147483647
Read-only -
Parameter type -
Documentation autovacuum_vacuum_max_threshold

autovacuum_worker_slots (PostgreSQL 18)

Attribute Value
Category Autovacuum
Description Number of backend slots to allocate for autovacuum workers.
Data type integer
Template value 16
Allowed values 1 to 262143
Read-only -
Parameter type static
Documentation autovacuum_worker_slots