- Mastering PostgreSQL 10
- Hans Jürgen Sch?nig
- 117字
- 2021-06-30 19:03:48
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)
推薦閱讀
- 反饋系統(tǒng):多學科視角(原書第2版)
- 大數(shù)據(jù)改變世界
- Supervised Machine Learning with Python
- PostgreSQL 10 Administration Cookbook
- Mastering Game Development with Unreal Engine 4(Second Edition)
- 智能生產(chǎn)線的重構方法
- Building a BeagleBone Black Super Cluster
- 精通數(shù)據(jù)科學:從線性回歸到深度學習
- 貫通開源Web圖形與報表技術全集
- 大數(shù)據(jù):引爆新的價值點
- Hands-On DevOps
- 中老年人學電腦與上網(wǎng)
- 網(wǎng)站規(guī)劃與網(wǎng)頁設計
- FANUC工業(yè)機器人虛擬仿真教程
- Oracle 11g基礎與提高