如何为postgresql 9.3安装pgbench?
我基本上已经在centos 64位上设置了我的postgresql9.3,它运行得很好。一点问题都没有。
然后我在centos机器上安装了postgresql93-contrib。但是我好像没有pgbench?我得到的命令没有找到?
我在bash下执行以下命令:
pgbench -i -U test test有什么想法吗?
发布于 2014-08-09 04:47:42
它正在设计中。确切的拼写取决于您使用的存储库,例如postgresql93-contrib
pgbench可能不在您的默认路径中。然后,您可以通过执行以下命令来运行它:/usr/pgsql-10/bin/pgbench --help
发布于 2014-11-13 10:59:21
在Centos6中
安装pgbench
yum install postgresql93-contrib然后pgbench将出现在/usr/pgsql-9.3/bin中
将此路径添加到系统
vi /etc/profile将/usr/pgsql-9.3/bin添加到路径
source /etc/profile现在可以运行pgbench了
https://stackoverflow.com/questions/25208234
复制相似问题