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

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)  
主站蜘蛛池模板: 仁寿县| 泽普县| 高州市| 金寨县| 吉隆县| 布尔津县| 涡阳县| 丹东市| 彭泽县| 大庆市| 抚州市| 瑞金市| 安宁市| 洪雅县| 遂川县| 子长县| 衡东县| 长乐市| 体育| 镇坪县| 射洪县| 通河县| 南郑县| 承德市| 鄱阳县| 陆河县| 安陆市| 西华县| 裕民县| 宿州市| 巴中市| 安徽省| 固始县| 朝阳县| 阿拉善右旗| 安龙县| 襄汾县| 青海省| 白银市| 黎川县| 临夏市|