aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2013-10-05 17:33:38 -0400
committerNoah Misch <noah@leadboat.com>2013-10-05 17:33:38 -0400
commit2d6c0f10ef4f34d757e49a9815c22045d8ba6980 (patch)
treecbaafc1004db6ad5dea1409e10678c2315e0354b /doc/src
parent8e00a3850d4a7729a112967c204fa95b40cc54ca (diff)
downloadpostgresql-2d6c0f10ef4f34d757e49a9815c22045d8ba6980.tar.gz
postgresql-2d6c0f10ef4f34d757e49a9815c22045d8ba6980.zip
pgbench: Elaborate latency reporting.
Isolate transaction latency (elapsed time between submitting first command and receiving response to last command) from client-side delays pertaining to the --rate schedule. Under --rate, report schedule lag as defined in the documentation. Report latency standard deviation whenever we collect the measurements to do so. All of these changes affect --progress messages and the final report. Fabien COELHO, reviewed by Pavel Stehule.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/pgbench.sgml6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/pgbench.sgml b/doc/src/sgml/pgbench.sgml
index 5871b459e72..8e1a05dde8a 100644
--- a/doc/src/sgml/pgbench.sgml
+++ b/doc/src/sgml/pgbench.sgml
@@ -412,7 +412,11 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
<term><option>--progress=</option><replaceable>sec</></term>
<listitem>
<para>
- Show progress report every <literal>sec</> seconds.
+ Show progress report every <literal>sec</> seconds. The report
+ includes the time since the beginning of the run, the tps since the
+ last report, and the transaction latency average and standard
+ deviation since the last report. Under throttling (<option>-R</>), it
+ also includes the average schedule lag time since the last report.
</para>
</listitem>
</varlistentry>