官术网_书友最值得收藏!

Introducing quorum COMMIT

PostgreSQL has offered support to synchronous replication for quite some time now. Traditionally, only one server could act as a synchronous standby. This has changed. In PostgreSQL 10.0, the community has introduced quorum COMMITs. The idea is actually quite simple. Suppose you want five out of seven servers to confirm a transaction before the master returns a COMMIT. This is exactly what a quorum COMMIT does. It gives the developers and administrators a chance to define what COMMIT does in a more fine-grained way.

To configure quorum COMMITs, the syntax of  synchronous_standby_names has been extended. Here are two simple examples:

synchronous_standby_names = ANY 1 (s1, s2)  
synchronous_standby_names = ANY 2 (s1, s2, s3)  
主站蜘蛛池模板: 区。| 宜兴市| 庆阳市| 望谟县| 舞钢市| 乃东县| 察隅县| 灵寿县| 启东市| 淳安县| 山东省| 通许县| 泸州市| 桑日县| 两当县| 澳门| 高邮市| 海晏县| 石台县| 慈溪市| 门源| 松滋市| 海盐县| 中江县| 永泰县| 乌海市| 改则县| 抚远县| 安宁市| 同江市| 冕宁县| 七台河市| 揭阳市| 山东省| 泸水县| 丰原市| 台南县| 石家庄市| 河池市| 盐津县| 吉木乃县|