Re: pgbench progress report improvements - split 3 v2 - A - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgbench progress report improvements - split 3 v2 - A
Date
Msg-id CA+TgmoYp907jm1v=PDGaZ6wUQM2Wr2T4_huWcJcEi=SkCMksOA@mail.gmail.com
Whole thread Raw
In response to Re: pgbench progress report improvements - split 3 v2 - A  (Noah Misch <noah@leadboat.com>)
Responses Re: pgbench progress report improvements - split 3 v2 - A  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On Sat, Oct 5, 2013 at 6:10 PM, Noah Misch <noah@leadboat.com> wrote:
> The sum of the squares of the latencies wraps after 2^63/(10^12 * avg_latency
> * nclients) seconds.  That's unlikely to come up with the ordinary pgbench
> script, but one can reach it in a few hours when benchmarking a command that
> runs for many seconds.  If we care, we can track the figure as a double.  I
> merely added a comment about it.

Using a double seems wise to me.

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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: insert throw error when year field len > 4 for timestamptz datatype
Next
From: Dan Ports
Date:
Subject: Re: SSI freezing bug