Re: [PATCH] add --throttle to pgbench (submission 3)

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] add --throttle to pgbench (submission 3)
Date: 2013-06-19 18:34:10
Message-ID: alpine.DEB.2.02.1306192025330.25404@localhost6.localdomain6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>> The use case of the option is to be able to generate a continuous gentle
>> load for functional tests, eg in a practice session with students or for
>> testing features on a laptop.
>
> Why does this need two option formats (-H and --throttle)?

On the latest version it is --rate and -R.

Because you may want to put something very readable and understandable in
a script and like long options, or have to type it interactively every day
in a terminal and like short ones. Most UNIX commands include both kind.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2013-06-19 18:42:30 Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Previous Message Peter Eisentraut 2013-06-19 17:59:35 Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]