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

Jan Wieck <janwieck@yahoo.com>

From: Jan Wieck <JanWieck@Yahoo.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2013-06-19T13:51:31Z
Lists: pgsql-hackers
On 05/01/13 04:57, Fabien COELHO wrote:
> 
> Add --throttle to pgbench
> 
> Each client is throttled to the specified rate, which can be expressed in 
> tps or in time (s, ms, us). Throttling is achieved by scheduling 
> transactions along a Poisson-distribution.
> 
> This is an update of the previous proposal which fix a typo in the sgml 
> documentation.
> 
> 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)?


Jan

-- 
Anyone who trades liberty for security deserves neither
liberty nor security. -- Benjamin Franklin