Postgresql too many dead tuples warning
>>>
((
pg_stat_user_tables_n_dead_tup
> 10000) / (
pg_stat_user_tables_n_live_tup
+
pg_stat_user_tables_n_dead_tup
)) >= 0.1
The rule evaluates each user table and triggers when the number of dead tuples is over 10,000 and those dead tuples make up at least 10 % of the total rows (dead + live). In other words, if (dead / (live + dead)) >= 0.1 while dead > 10000, the alert fires.
Exporters Used
Related Alerts
PostgreSQLCacheHitRatio
PostgreSQLDown
PostgreSQLHighConnections
PostgreSQLMaxConnectionsReached
PostgreSQLQPS
PostgreSQLSlowQueries
Postgresql SSL compression active
Postgresql bloat index high (> 80%)
Postgresql bloat table high (> 80%)
Postgresql commit rate low
Postgresql configuration changed
Postgresql dead locks
Postgresql down
Postgresql exporter error
Postgresql high rate deadlock
Postgresql high rate statement timeout
Postgresql high rollback rate
Postgresql invalid index
Postgresql low XID consumption
Postgresql not enough connections
Postgresql replication lag
Postgresql restarted
Postgresql table not auto analyzed
Postgresql table not auto vacuumed
Postgresql too many connections
Postgresql too many locks acquired
Postgresql unused replication slot