mirror of
https://github.com/postgres/postgres.git
synced 2025-12-18 05:01:01 +03:00
pgbench: allow per-script statistics
Provide per-script statistical info (count of transactions executed under that script, average latency for the whole script) after a multi-script run, adding an intermediate level of detail to existing global stats and per-command stats. Author: Fabien Coelho Reviewer: Michaël Paquier, Álvaro Herrera
This commit is contained in:
@@ -1138,6 +1138,9 @@ number of transactions actually processed: 10000/10000
|
||||
tps = 618.764555 (including connections establishing)
|
||||
tps = 622.977698 (excluding connections establishing)
|
||||
SQL script 1: <builtin: TPC-B (sort of)>
|
||||
- 10000 transactions (100.0% of total, tps = 618.764555)
|
||||
- latency average = 15.844 ms
|
||||
- latency stddev = 2.715 ms
|
||||
- statement latencies in milliseconds:
|
||||
0.004386 \set nbranches 1 * :scale
|
||||
0.001343 \set ntellers 10 * :scale
|
||||
|
||||
Reference in New Issue
Block a user