max_worker_processes

A configuration parameter to set the maximum number of background worker processes

max_worker_processes is a configuration parameter to set the maximum number of background worker processes.

max_worker_processes was added in PostgreSQL 9.4.

Default value

The default value for max_worker_processes is: 8.

Usage

On a standby server, max_worker_processes must be set to the same or a higher value as on the primary server.

The current value of max_worker_processes is one of the configuration parameters recorded in pg_control.

Change history

Categories

Background worker, Critical standby configuration item, GUC configuration item

See also

background worker