pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Pgbench TPS Calculation
2+ messages / 2 participants
[nested] [flat]

* Pgbench TPS Calculation
@ 2010-03-27 20:05 Reydan Cankur <reydan.cankur@gmail.com>
  2010-03-29 04:22 ` Re: Pgbench TPS Calculation Greg Smith <greg@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Reydan Cankur @ 2010-03-27 20:05 UTC (permalink / raw)
  To: pgsql-performance

Hi,

I am using pgbench for running tests on PostgreSQL.

I have a few questions;
1) For calculating time to get the TPS, is pgbench using the wall  
clock time or cpu time?
2)How is TPS calculated?

Thanks in advance,
Reydan



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Pgbench TPS Calculation
  2010-03-27 20:05 Pgbench TPS Calculation Reydan Cankur <reydan.cankur@gmail.com>
@ 2010-03-29 04:22 ` Greg Smith <greg@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Greg Smith @ 2010-03-29 04:22 UTC (permalink / raw)
  To: Reydan Cankur <reydan.cankur@gmail.com>; +Cc: pgsql-performance

Reydan Cankur wrote:
> 1) For calculating time to get the TPS, is pgbench using the wall 
> clock time or cpu time?
> 2) How is TPS calculated?

Wall clock time.

TPS=transactions processed / (end time - start time)

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-03-29 04:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-03-27 20:05 Pgbench TPS Calculation Reydan Cankur <reydan.cankur@gmail.com>
2010-03-29 04:22 ` Greg Smith <greg@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox