Pgbench for postgresql 9.3 for centos, where can I find it?
How do I install pgbench for postgresql 9.3?
Basically I have configured my postgresql9.3 on centos 64 bit and it works fine. No problems.
Then I installed postgresql93-contrib on my centos station. But I don't seem to have pgbench? Am I getting the command not found?
I am doing the following in bash:
pgbench -i -U test test
any ideas?
+3
user1555190
source
to share
2 answers
It's in Contrib. The exact spelling depends on which repo you are using, something likepostgresql93-contrib
+4
jjanes
source
to share
in Centos6
install pgbench
yum install postgresql93-contrib
then pgbench will appear in / usr / pgsql -9.3 / bin
add this path to the system
vi /etc/profile
add / usr / pgsql-9.3 / bin to path
source /etc/profile
you can now run pgbench now
+2
Yiheng Li
source
to share