aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-09-11 12:40:01 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-09-11 12:57:21 +0300
commit8c9dd69fc2638701653c90bbf291884f8ca23d56 (patch)
tree7985ae7a0c7cf33325be15c11bc8e72d5b88dfe4 /src
parent958a828fea254307d7699aea4310f0654dc48990 (diff)
downloadpostgresql-8c9dd69fc2638701653c90bbf291884f8ca23d56.tar.gz
postgresql-8c9dd69fc2638701653c90bbf291884f8ca23d56.zip
Change the way latency is calculated with pgbench --rate option.
The reported latency values now include the "schedule lag" time, that is, the time between the transaction's scheduled start time and the time it actually started. This relates better to a model where requests arrive at a certain rate, and we are interested in the response time to the end user or application, rather than the response time of the database itself. Also, when --rate is used, include the schedule lag time in the log output. The --rate option is new in 9.4, so backpatch to 9.4. It seems better to make this change in 9.4, while we're still in the beta period, than ship a 9.4 version that calculates the values differently than 9.5.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions