Specifies the maximum amount of memory to be used by logical decoding, before some of the decoded changes are written to local disk. This limits the amount of memory used by logical streaming replication connections. It defaults to 64 megabytes (
64MB). Since each replication connection only uses a single buffer of this size, and an installation normally doesn't have many such connections concurrently (as limited by max_wal_senders), it's safe to set this value significantly higher than work_mem, reducing the amount of decoded changes written to disk.
- Re: Resetting spilled txn statistics in pg_stat_replication
- Re: logical decoding : exceeded maxAllocatedDescs for .spill files
- Re: PG 13 release notes, first draft
- Re: Fastpath while arranging the changes in LSN order in logical decoding
- Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions