Re: pgbench --latency-limit option - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgbench --latency-limit option
Date
Msg-id CA+Tgmob9OhXPwezAje3jCGtaTF3x1RRsxz7AO4+FPLUwPUwcOQ@mail.gmail.com
Whole thread Raw
In response to Re: pgbench --latency-limit option  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench --latency-limit option
List pgsql-hackers
On Wed, Dec 23, 2015 at 11:23 AM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>>> Probably no skips though, because the response time needed is below 5
>>> *seconds*, not ms : 2 tps on 10 connections, 1 transaction every 5
>>> seconds
>>> for each connection.
>>
>> Oops.  Right.  But why did this test only run 16 transactions in total
>> instead of 20?
>
> Because the schedule is based on a stochastic process, transactions are not
> set regularly (that would induce patterns and is not representative of
> real-life load) but randomly.
>
> The long term average is expected to converge to 2 tps, but on a short run
> it may differ significantly.

Hmm.  Is that documented somewhere?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench --latency-limit option
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #13741: vacuumdb does not accept valid password