Re: pgbench % output incorrect with large scales

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thom Brown <thom(at)linux(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pgbench % output incorrect with large scales
Date: 2012-10-20 16:46:34
Message-ID: 244.1350751594@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thom Brown <thom(at)linux(dot)com> writes:
> I've run pgbench with a scale of 2000, and have noticed that the %
> done goes a bit wonky:
> ...
> Presumably this is just an int overflowing repeatedly.

Yeah, fixed. Thanks for the report!

(FWIW, you're not all that far away from the threshold where the integer
table columns wouldn't be wide enough. I don't think we want to change
those datatypes, though.)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Davis 2012-10-20 18:41:43 Re: BUG #7525: Deferred unique index with predicate
Previous Message Thom Brown 2012-10-20 12:30:19 pgbench % output incorrect with large scales