免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7866 | 回复: 9
打印 上一主题 下一主题

postgresql 数据库如何集群? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-07 18:37 |只看该作者 |倒序浏览
请问postgresql数据库如何做集群?

网站哪里有资料啊。。。。

论坛徽章:
0
2 [报告]
发表于 2008-04-17 12:52 |只看该作者
顶。。。。

论坛徽章:
0
3 [报告]
发表于 2008-04-17 13:06 |只看该作者

回复 #1 kfping 的帖子

postgresql也能集群?

论坛徽章:
0
4 [报告]
发表于 2008-05-08 16:14 |只看该作者

回复 #1 kfping 的帖子

8.3非常简单

论坛徽章:
0
5 [报告]
发表于 2008-05-13 17:54 |只看该作者
原帖由 小把戏 于 2008-5-8 16:14 发表
8.3非常简单

How?

论坛徽章:
0
6 [报告]
发表于 2008-05-14 17:19 |只看该作者
曰公司不是说这样的功能只给有钱的人用吗?

论坛徽章:
0
7 [报告]
发表于 2008-06-06 11:11 |只看该作者
使用pgpool ii配置postgresql的集群,简单又好用!致于资料嘛,最好的当然是她的帮助文档了

论坛徽章:
0
8 [报告]
发表于 2008-06-06 11:40 |只看该作者
拜托,在若干独立相同数据库前边套个均衡就叫集群了?

论坛徽章:
0
9 [报告]
发表于 2008-06-08 18:26 |只看该作者
原帖由 Magicloud 于 2008-6-6 11:40 发表
拜托,在若干独立相同数据库前边套个均衡就叫集群了?


There is a long way to the ideal world...

What is pgpool-II?
pgpool-II is a middleware that works between PostgreSQL servers and a PostgreSQL database client. It provides the following features.
Limiting Exceeding Connections
There is a limit on the maximum number of concurrent connections with PostgreSQL, and connections are rejected after this many connections. Setting the maximum number of connections, however, increases resource consumption and affect system performance. pgpool-II also has a limit on the maximum number of connections, but extra connections will be queued instead of returning an error immediately.
Connection Pooling
pgpool-II saves connections to the PostgreSQL servers, and reuse them whenever a new connection with the same properties (i.e. username, database, protocol version) comes in. It reduces connection overhead, and improves system's overall throughput.
Replication
pgpool-II can manage multiple PostgreSQL servers. Using the replication function enables creating a realtime backup on 2 or more physical disks, so that the service can continue without stopping servers in case of a disk failure.
Load Balance
If a database is replicated, executing a SELECT query on any server will return the same result. pgpool-II takes an advantage of the replication feature to reduce the load on each PostgreSQL server by distributing SELECT queries among multiple servers, improving system's overall throughput. At best, performance improves proportionally to the number of PostgreSQL servers. Load balance works best in a situation where there are a lot of users executing many queries at the same time.
Parallel Query
Using the parallel query function, data can be divided among the multiple servers, so that a query can be executed on all the servers concurrently to reduce the overall execution time. Parallel query works the best when searching large-scale data.
pgpool-II talks PostgreSQL's backend and frontend protocol, and relays a connection between them. Therefore, a database application (frontend) thinks that pgpool-II is the actual PostgreSQL server, and the server (backend) sees pgpool-II as one of its clients. Because pgpool-II is transparent to both the server and the client, an existing database application can be used with pgpool-II almost without a change to its sources.

论坛徽章:
0
10 [报告]
发表于 2008-07-13 11:12 |只看该作者
我靠!长见识了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP