max_parallel_apply_workers_per_subscription

Type: integer
Default: 2
Min: 0
Max: 1024
Context: sighup
Restart: false
Since: 16

Maximum number of parallel apply workers per subscription. This parameter controls the amount of parallelism for streaming of in-progress transactions with subscription parameter streaming = parallel.

The parallel apply workers are taken from the pool defined by max_logical_replication_workers.

The default value is 2. This parameter can only be set in the postgresql.conf file or on the server command line.

Comments