pg_stat_user_tables tracks two timestamps — `last_autoanalyze` is only bumped by the autovacuum daemon, while `last_analyze` is bumped by manual ANALYZE statements (including the ones our Task issues). The previous query only filtered on `last_autoanalyze`, so on a re-run within the skip_recent window every manually- analyzed table came back for another ANALYZE pass. Uses `GREATEST(last_analyze, last_autoanalyze)` so fresh manual analyses count as recent. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||