启动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

 

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-02-08
猜你喜欢
  • 2021-10-15
  • 2021-11-14
  • 2022-12-23
  • 2021-07-10
  • 2021-09-26
  • 2021-09-23
相关资源
相似解决方案