pgsql: Add --aggregate-interval option.

Lists: pgsql-committers
From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add --aggregate-interval option.
Date: 2013-01-31 07:04:45
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

Add --aggregate-interval option.

The new option specifies length of aggregation interval (in
seconds). May be used only together with -l. With this option, the log
contains per-interval summary (number of transactions, min/max latency
and two additional fields useful for variance estimation).

Patch contributed by Tomas Vondra, reviewed by Pavel Stehule. Slight
change by Tatsuo Ishii, suggested by Robert Hass to emit an error
message indicating that the option is not currently supported on
Windows.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6a651d85eb6b2df7cbcbdf4b2f82a1660e691d12

Modified Files
--------------
contrib/pgbench/pgbench.c | 147 +++++++++++++++++++++++++++++++++++++++++----
doc/src/sgml/pgbench.sgml | 59 +++++++++++++++++-
2 files changed, 192 insertions(+), 14 deletions(-)