centos6.5下postgres-XC集群安装与配置(三)

2015-11-21 01:41:16 · 作者: · 浏览: 12
----

co1 | C | 5432 | localhost | f | f | 1344656819

dn1 | D | 5433 | 172.16.0.103 | t | t | -560021589

dn2 | D | 5433 | 172.16.0.104 | f | f | 352366662

dn3 | D | 5433 | 172.16.0.105 | f | f | -700122826

co2 | C | 5432 | 172.16.0.104 | f | f | 474101254

co3 | C | 5432 | 172.16.0.105 | f | f | -1046823559

(6 rows)

?

postgres=# create database text;

CREATE DATABASE

?

postgres=# \l

List of databases

Name | Owner | Encoding | Collate | Ctype | Access privileges

-----------+-------+----------+---------+-------+-------------------

postgres | pgxc | UTF8 | C | C |

template0 | pgxc | UTF8 | C | C | =c/pgxc +

| | | | | pgxc=CTc/pgxc

template1 | pgxc | UTF8 | C | C | =c/pgxc +

| | | | | pgxc=CTc/pgxc

?

text | pgxc | UTF8 | C | C |

(4 rows)

?

以上说明全部安装成功。