1.下载安装在官网http://pgfoundry.org/projects/pgpool/下载pgpool-II 2.2.2.tar.gz ,执行以下命令安装:#tar xvf pgpool-II 2.2.2.tar.gz#cd pgpool-II 2.2.2#.......
'public',
'accounts',
'aid',
ARRAY['aid', 'bid', 'abalance', 'filler'],
ARRAY['integer', 'integer', 'integer', 'character(84)'],
'pgpool_catalog.dist_def_accounts'
);
INSERT INTO pgpool_catalog.dist_def VALUES (
'bench_parallel',
'public',
'history',
'tid',
ARRAY['tid', 'bid', 'aid', 'delta', 'mtime', 'filler'],
ARRAY['integer', 'integer', 'integer', 'integer', 'timestamp without time zone', 'character(22)'],
'pgpool_catalog.dist_def_history'
);
接下来,必须为每个表定义分布函数,不同的表可以使用同一个分布函数,并且使用过程语言(PL/pgSQL 、PL/Tcl 等等)定义而不是SQL 。
下边是由
9/16 首页 上一页 7 8 9 10 11 12 下一页 尾页 |