Re: pgbench progress report improvements - split 3 v2 - A

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, Pavel Stěhule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: pgbench progress report improvements - split 3 v2 - A
Date: 2013-10-07 20:06:59
Message-ID: CA+TgmoYp907jm1v=PDGaZ6wUQM2Wr2T4_huWcJcEi=SkCMksOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Oct 5, 2013 at 6:10 PM, Noah Misch <noah(at)leadboat(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dan Ports 2013-10-07 20:20:19 Re: SSI freezing bug
Previous Message Robert Haas 2013-10-07 20:04:15 Re: insert throw error when year field len > 4 for timestamptz datatype