- 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)
推薦閱讀
- Dreamweaver CS3 Ajax網頁設計入門與實例詳解
- Excel 2007函數與公式自學寶典
- 輕松學Java
- 群體智能與數據挖掘
- CompTIA Network+ Certification Guide
- 西門子變頻器技術入門及實踐
- 智能生產線的重構方法
- Unity Multiplayer Games
- 智慧未來
- Embedded Linux Development using Yocto Projects(Second Edition)
- JSP通用范例開發金典
- Eclipse RCP應用系統開發方法與實戰
- Web滲透技術及實戰案例解析
- SQL語言與數據庫操作技術大全
- Microsoft Office 365:Exchange Online Implementation and Migration(Second Edition)