'standby1,standby2'
. Use this when you have both logical replication consumers and synchronous physical standbys, and you need to ensure they remain coordinated. Ensure the specified replication slots actually exist and are active.NUM_SYNC (standby_name1, standby_name2, ...)
where NUM_SYNC is the number of synchronous standbys required. For example: 2 (standby1, standby2, standby3)
requires any 2 of the 3 listed standbys. For maximum availability with performance, start with 1 (standby1)
and increase as needed. Monitor replication latency and adjust based on your durability requirements versus performance tolerance. Always ensure you have enough actual standbys to meet your synchronous requirements.Start your journey toward a healthier PostgreSQL with pghealth.
You can explore all features immediately with a free trial β no installation required.
π Start Free Trial