Re: [HACKERS] Doubt in pgbench TPS number

2020-02-27 Thread Andres Freund
On 2020-02-27 12:26:36 -0800, Andres Freund wrote: > Hi, > > On 2015-09-25 20:35:45 +0200, Fabien COELHO wrote: > > > > Hello Tatsuo, > > > > > Hmmm... I never use -C. The formula seems ok: > > > > > >tps_exclude = normal_xacts / (time_include - > > >(INSTR_TIME_GET_

Re: [HACKERS] Doubt in pgbench TPS number

2020-02-27 Thread Andres Freund
Hi, On 2015-09-25 20:35:45 +0200, Fabien COELHO wrote: > > Hello Tatsuo, > > > Hmmm... I never use -C. The formula seems ok: > > > >tps_exclude = normal_xacts / (time_include - > >(INSTR_TIME_GET_DOUBLE(conn_total_time) / nthreads)); > > Hmmm... it is not:-) > > I