pgpool常用命令

启动pgpool

pgpool -n -d > /tmp/pgpool.log 2>&1 &

停止pgpool

pgpool stop

pgbench的测试命令

pgbench -c 60 -j 10 -t 50000 -p 9999 -r postgres > file.out  2>&1 -U postgres -v -S

 测试结果

more file.out

 创建数据库

createdb -p 9999 -U postgres database_name

删除数据库

dropdb -p 9999 -U postgres database_name
原文地址:https://www.cnblogs.com/geosky/p/pgpool_com.html