pgsql: Add --latency-limit option to pgbench.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add --latency-limit option to pgbench.
Date: 2014-10-13 17:54:04
Message-ID: E1Xdjoq-000431-Cz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/98aed6c721763f2472ccd23b834baed9f83a944b

Modified Files
--------------
contrib/pgbench/pgbench.c | 231 ++++++++++++++++++++++++++++++++++-----------
doc/src/sgml/pgbench.sgml | 70 ++++++++++++--
2 files changed, 235 insertions(+), 66 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-10-13 19:40:27 pgsql: doc: improve USING and NATURAL JOIN descriptions
Previous Message Kevin Grittner 2014-10-13 15:17:51 pgsql: Increase number of hash join buckets for underestimate.