没有合适的资源?快使用搜索试试~ 我知道了~
首页postgresql分布式数据库架构
postgresql分布式数据库架构
需积分: 50 701 浏览量
更新于2023-05-22
评论
收藏 1.47MB PDF 举报
postgresql分布式数据库架构文档。Postgres-XC提供同步多主复制、任意数据节点可写等等多种功能。
资源详情
资源评论
资源推荐

Postgres-XC Architecture, Implementation and Evaluation
Version 0.900
NTT Open Source Software Center
EnterpriseDB Corporation
Mar. 25
th
, 2010
1

Version 0.900 Mar. 25
th
, 2010
c
2010, by NTT Open Source Software Center
All rights reserved. Copying and distributing this document are granted only for internal
use, provided this copyright notice remains as is. Prior written consent is needed to modify
this document for distribution.
For information on obtaining permission for use of material from this work, please submit
a written request to Postgres-XC project:
https://sourceforge.net/projects/postgres-xc/
Page 2

Version 0.900 Mar. 25
th
, 2010
Contents
1 What Is Postgres-XC? 6
2 Postgres-XC’s Goal 6
3 How To Scale Out Both Reads And Writes? 8
3.1 Parallelism In Postgres-XC . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2 Postgres-XC’s Global Transaction Management . . . . . . . . . . . . . . . . 10
4 Postgres-XC Key Components 10
4.1 GTM (Global Transaction Manager) . . . . . . . . . . . . . . . . . . . . . . 10
4.1.1 How PostgreSQL Manages Transactions . . . . . . . . . . . . . . . . 10
4.1.2 Making Transaction Management Global . . . . . . . . . . . . . . . 12
4.2 Coordinator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.3 Data Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.4 Interaction Between Key Components . . . . . . . . . . . . . . . . . . . . . 16
5 Isn’t GTM A Performance Bottleneck? 16
5.1 Primitive GTM Implementation . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2 GTM Proxy Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.3 Coordinator And Data Node Connection . . . . . . . . . . . . . . . . . . . . 21
6 Performance And Stability 21
6.1 DBT-1-Based Benchmark . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.2 Test Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7 Test Result 24
7.1 Throughput And Scalability . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.2 CPU Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.3 Network Workload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Page 3

Version 0.900 Mar. 25
th
, 2010
8 Remarks Of Current Implementation 29
8.1 Development Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.2 Development History & Approach . . . . . . . . . . . . . . . . . . . . . . . 29
8.3 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.4 Connection Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.5 The Postgres-XC Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.6 Noteworthy Changes to Existing PostgreSQL Code . . . . . . . . . . . . . . 31
9 Roadmap of Postgres-XC 32
Page 4

Version 0.900 Mar. 25
th
, 2010
Revision Log
Mar. 25, 2010, Version 0.900 Initial release
Page 5
剩余34页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0