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

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] add --throttle to pgbench (submission 3)
Date: 2013-05-01 08:57:50
Message-ID: alpine.DEB.2.02.1305011048580.25330@localhost6.localdomain6
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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.

--
Fabien.

Attachment Content-Type Size
pgbench-throttle-2.patch text/x-diff 6.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2013-05-01 09:02:26 Re: Graph datatype addition
Previous Message Tom Lane 2013-05-01 02:14:42 Re: pgsql: Add regression test for bug fixed by recent refactoring.