gregs1104/pgbench-tools

runtest problem

phpcoder2011 opened this issue · 1 comments

Some strange errors (when i follow the setup):

Run set #3 of 3 with 32 clients scale=1000
Running tests using: psql -h localhost -U postgres -p 5432 -d pgbench
Storing results using: psql -h localhost -U postgres -p 5432 -d results
ERROR: relation "pgbench_branches" does not exist
LINE 1: select count(*) from pgbench_branches
^
ERROR: Attempt to determine database scale returned "", aborting

Hi,

You need to install the pgbench contrib and set the pgbench path explicitly in the config file (if not available from
the command line):
PGBENCHBIN=/usr/lib/postgresql/8.4/bin/pgbench

ben