Add --latency-limit option to pgbench.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 13 Oct 2014 17:25:56 +0000 (20:25 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 13 Oct 2014 17:50:24 +0000 (20:50 +0300)
commit98aed6c721763f2472ccd23b834baed9f83a944b
tree823858fbfca381a0d5021c388e649085783361bb
parent30d7ae3c76d2de144232ae6ab328ca86b70e72c3
Add --latency-limit option to pgbench.

This allows transactions that take longer than specified limit to be counted
separately. With --rate, transactions that are already late by the time we
get to execute them are skipped altogether. Using --latency-limit with
--rate allows you to "catch up" more quickly, if there's a hickup in the
server causing a lot of transactions to stall momentarily.

Fabien COELHO, reviewed by Rukh Meski and heavily refactored by me.
contrib/pgbench/pgbench.c
doc/src/sgml/pgbench.sgml