Re: [PATCH] add --throttle to pgbench (submission 3)
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Craig Ringer <craig@2ndquadrant.com>
Cc: Greg Smith <greg@2ndQuadrant.com>, PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2013-05-28T08:13:46Z
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. >> >> If you add this to >> https://commitfest.postgresql.org/action/commitfest_view?id=18 I'll >> review it next month. I have a lot of use cases for a pgbench that >> doesn't just run at 100% all the time. > As do I - in particular, if time permits I'll merge this patch into my > working copy of pgbench so I can find the steady-state transaction rate > where BDR replication's lag is stable and doesn't increase continually. > Right now I don't really have any way of doing that, only measuring how > long it takes to catch up once the test run completes. You can try to use and improve the --progress option in another patch submission which shows how things are going. -- Fabien.