| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
www345
8年前发布

PostgreSQL集群解决方案:Postgres-X2

基于PostgreSQL的集群解决方案,同时适合OLTP 和OLAP应用。该项目的目标是整合Postgres-XC 和 Postgres-XL。

快速使用:

 Init gtm, datanode, coordinator    >initgtm -Z gtm -D gtm    >initdb -D datanode1 --nodename dn1 #Initialize Datanode 1    >initdb -D datanode2 --nodename dn2 #Initialize Datanode 2    >initdb -D coord1 --nodename co1 # Initialize Coordinator 1       Change configuration    *Show and check gtm.conf and each postgresql.conf, change port values for Datanodes => 15432 for Dn1, 15433 for Dn2       Node start-up    >gtm -D gtm &    >postgres -X -D datanode1 -i & # -X for a Datanode    >postgres -X -D datanode2 -i & # -X for a Datanode    >postgres -C -D coord1 -i & # -C for a Coordinator       connect to coordinator    >psql postgres       launch that to set up cluster:    >CREATE NODE dn1 WITH (TYPE='datanode', PORT=15432);    >CREATE NODE dn2 WITH (TYPE='datanode', PORT=15433);    >select * from pgxc_node;    >select pgxc_pool_reload();       Then you can connect to Coordinator 1 and test your newly-made cluster

项目主页:http://www.open-open.com/lib/view/home/1447680015400

 本文由用户 www345 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1447680015400.html
PostgreSQL 数据库服务器