PostgreSQL High Availability – Write Concern Explained

high-availabilitypostgresql

In MongoDB it is called write concern, that is the number of the servers in a replica set, that the data should be committed before the cluster acknowledges the write request. How is it called in the Postgres?

Best Answer

PostgreSQL works differently. As soon as the data are committed on the single primary database, the write is effective. If you use synchronous replication, that commit waits until the required standby servers (configured by synchronous_standby_names) have received the information.