@@ -58,8 +58,10 @@ number of clients: 10
58
58
number of threads: 1
59
59
number of transactions per client: 1000
60
60
number of transactions actually processed: 10000/10000
61
- tps = 85.184871 (including connections establishing)
62
- tps = 85.296346 (excluding connections establishing)
61
+ latency average = 11.013 ms
62
+ latency stddev = 7.351 ms
63
+ initial connection time = 45.758 ms
64
+ tps = 896.967014 (without initial connection time)
63
65
</screen>
64
66
65
67
The first six lines report some of the most important parameter
@@ -68,8 +70,7 @@ tps = 85.296346 (excluding connections establishing)
68
70
and number of transactions per client); these will be equal unless the run
69
71
failed before completion. (In <option>-T</option> mode, only the actual
70
72
number of transactions is printed.)
71
- The last two lines report the number of transactions per second,
72
- figured with and without counting the time to start database sessions.
73
+ The last line reports the number of transactions per second.
73
74
</para>
74
75
75
76
<para>
@@ -2257,22 +2258,22 @@ number of clients: 10
2257
2258
number of threads: 1
2258
2259
number of transactions per client: 1000
2259
2260
number of transactions actually processed: 10000/10000
2260
- latency average = 15.844 ms
2261
- latency stddev = 2.715 ms
2262
- tps = 618.764555 (including connections establishing)
2263
- tps = 622.977698 (excluding connections establishing )
2261
+ latency average = 10.870 ms
2262
+ latency stddev = 7.341 ms
2263
+ initial connection time = 30.954 ms
2264
+ tps = 907.949122 (without initial connection time )
2264
2265
statement latencies in milliseconds:
2265
- 0.002 \set aid random(1, 100000 * :scale)
2266
- 0.005 \set bid random(1, 1 * :scale)
2267
- 0.002 \set tid random(1, 10 * :scale)
2268
- 0.001 \set delta random(-5000, 5000)
2269
- 0.326 BEGIN;
2270
- 0.603 UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;
2271
- 0.454 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;
2272
- 5.528 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;
2273
- 7.335 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;
2274
- 0.371 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);
2275
- 1.212 END;
2266
+ 0.001 \set aid random(1, 100000 * :scale)
2267
+ 0.001 \set bid random(1, 1 * :scale)
2268
+ 0.001 \set tid random(1, 10 * :scale)
2269
+ 0.000 \set delta random(-5000, 5000)
2270
+ 0.046 BEGIN;
2271
+ 0.151 UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;
2272
+ 0.107 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;
2273
+ 4.241 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;
2274
+ 5.245 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;
2275
+ 0.102 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);
2276
+ 0.974 END;
2276
2277
</screen>
2277
2278
</para>
2278
2279
0 commit comments