Technologies/PostgreSQL/postgresql.last_vacuum_age
PostgreSQLPostgreSQLMetric

postgresql.last_vacuum_age

Last vacuum age
Dimensions:None
Available on:DatadogDatadog (2)
Interface Metrics (2)
DatadogDatadog
Last time at which the toast table of this table was vacuumed by the autovacuum daemon. This metric is tagged with db, schema, table.
Dimensions:None
DatadogDatadog
Last time at which the toast table of this table was manually vacuumed (not counting VACUUM FULL). This metric is tagged with db, schema, table.
Dimensions:None

Technical Annotations (11)

Configuration Parameters (7)
autovacuum_vacuum_threshold
Minimum number of updated/deleted tuples before autovacuum triggers
autovacuum_vacuum_scale_factor
Fraction of table size used to calculate autovacuum trigger threshold
autovacuum_max_workers
Maximum number of concurrent autovacuum processes
autovacuum_naptime
Time between autovacuum runs on each database
autovacuum_freeze_max_agerecommended: 200000000 to 2000000000
maximum transactions before forced anti-wraparound vacuum
vacuum_freeze_min_agerecommended: 50000000
minimum age before freezing rows
vacuum_freeze_table_agerecommended: 0.95 * autovacuum_freeze_max_age
age threshold for aggressive vacuum scanning all pages
CLI Commands (1)
VACUUMremediation
Technical References (3)
autovacuumcomponenttransaction ID wraparoundconceptdead tuplesconcept
Related Insights (3)
Inefficient autovacuum configuration causes table bloat and transaction ID wraparound riskcritical
Blocked autovacuum allows unbounded bloat accumulationcritical
Autovacuum disabled on static tables delays anti-wraparound vacuumwarning