Problem in using pgbench's --connect(-C) and --rate=rate(-R rate) options together.

From: nuko yokohama <nuko(dot)yokohama(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Problem in using pgbench's --connect(-C) and --rate=rate(-R rate) options together.
Date: 2017-01-25 14:06:04
Message-ID: CAF3Gu1b+6k6uWiqXEpp9NevNbQfPDMEeobXbYupwdS0NY6HJJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi.

I attempted to make the following measurements using PostgreSQL 9.6.0
pgbench on CentOS 7.

$ pgbench -P 5 -R 400 -C -S -r -c 4 -T 30 bench -U postgres

However, this benchmark did not work properly.

* I refer to pg_stat_activity, but no connection from pgbench to PostgreSQL.
* pgbench does not stop even after the time specified by the -T option
elapses.

It operates normally when only the -C option or only the -R option is
specified.

In the PostgreSQL document, It is not described that "these two options can
not be specified at the same time ".
Is this a problem of pgbench?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Fabien COELHO 2017-01-25 14:25:07 Re: Problem in using pgbench's --connect(-C) and --rate=rate(-R rate) options together.
Previous Message Tomasz Szypowski 2017-01-25 12:46:01 could not fork autovacuum worker process: No error