mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user