table_bloat
Table bloat percentageDimensions:None
Available on:
Datadog (1)
Interface Metrics (1)
Dimensions:None
Technical Annotations (31)
Configuration Parameters (7)
autovacuum_vacuum_thresholdautovacuum_vacuum_scale_factorautovacuum_max_workersautovacuum_naptimefillfactorrecommended: lower than 100autovacuum_vacuum_cost_delayautovacuum_vacuum_cost_limitCLI Commands (11)
VACUUMremediationSELECT relname, n_live_tup, n_dead_tup, pg_size_pretty(pg_total_relation_size(oid)) FROM pg_stat_user_tables WHERE schemaname = 'public';diagnosticVACUUM FULL table_name;remediationANALYZEremediationEXPLAIN ANALYZEdiagnosticVACUUM FULLremediationCLUSTERremediationTRUNCATEremediationSELECT relname AS table, n_dead_tup AS dead_rows FROM pg_stat_user_tables ORDER BY n_dead_tup DESC LIMIT 10;diagnosticSELECT name, setting FROM pg_settings WHERE name LIKE 'autovacuum%';diagnosticVACUUM ANALYZE your_table_name;remediationTechnical References (13)
autovacuumcomponenttransaction ID wraparoundconceptdead tuplesconceptpgwatchcomponentVACUUMcomponentVACUUM FULLcomponentpg_stat_user_tablescomponentHOT updatesconceptpg_repackcomponentpg_squeezecomponentfillfactorcomponentMVCCconcepttable bloatconceptRelated Insights (11)
Inefficient autovacuum configuration causes table bloat and transaction ID wraparound riskcritical
▸
Index and table bloat wastes disk space and degrades query performancewarning
▸
Dead tuples accumulate massively when autovacuum is blocked from cleanupcritical
▸
Bloated tables with dead rows skew performance metrics and waste storagewarning
▸
Data locality degradation causes excessive buffer reads over timewarning
▸
Blocked autovacuum allows unbounded bloat accumulationcritical
▸
HOT update conditions not met causes heap bloatwarning
▸
Large tables miss autovacuum due to scale factor defaultswarning
▸
Table bloat from insufficient vacuuming requires VACUUM FULLwarning
▸
Dead tuples exceed threshold causing table and index bloatwarning
▸
High autovacuum duration causes table bloat and performance degradationwarning
▸