bloat_timeline
Fetches a time series of dead tuples and table/index bloat to pinpoint when bloat started and whether vacuum starvation or blocking caused it.
Instructions
Dead-tuple + approx + index-bloat time series: when the bloat started.
Read-only on the local timeline file. Args: table: Table name to filter (e.g. 'churn'). Empty = all tables. db: Path to the SQLite timeline file (default: BLOAT_DB env). Returns: {table: {dead: [{ts, live, dead}], approx_pct: [{ts, dead_pct}]}, index_bloat: {index: [{ts, bloat_pct}]}}. Rising dead = vacuum-starved; spike-then-zero = was blocked, blocker left.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | ||
| table | No |