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

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)  
主站蜘蛛池模板: 财经| 宜章县| 金塔县| 巨野县| 榕江县| 六安市| 武威市| 习水县| 临汾市| 鸡泽县| 商洛市| 沈丘县| 金寨县| 晋城| 神木县| 财经| 宾川县| 湖北省| 河间市| 延川县| 宝丰县| 白银市| 特克斯县| 会东县| 宜春市| 大城县| 犍为县| 罗山县| 华阴市| 南投县| 东乌珠穆沁旗| 永平县| 兴文县| 庐江县| 秦皇岛市| 闵行区| 北票市| 甘谷县| 九龙坡区| 垫江县| 宁海县|