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(-)