May 2018
Intermediate to advanced
576 pages
30h 25m
English
Multiple standby nodes can connect to a single master. Set max_wal_senders to the number of standby nodes, plus at least one. If you are planning to use pg_basebackup -wal-method=stream, then allow for an additional connection per concurrent backup you plan for. You may wish to set up an individual user for each standby node, though it may be sufficient just to set the application_name parameter in primary_conninfo.
The architecture for streaming replication is this: on the master, one WALSender process is created for each standby that connects for streaming replication. On the standby node, a WALReceiver process is created to work cooperatively with the master. Data transfer has been designed and measured to be very efficient-data ...