pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Reydan Cankur <reydan.cankur@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Pgbench TPS Calculation
Date: Mon, 29 Mar 2010 00:22:18 -0400
Message-ID: <4BB02AFA.9050305@2ndquadrant.com> (raw)
In-Reply-To: <FC96543D-B8E5-4432-874A-4D2ABB462AA5@gmail.com>
References: <FC96543D-B8E5-4432-874A-4D2ABB462AA5@gmail.com>

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




view thread (2+ messages)

Message-ID: <4BB02AFA.9050305@2ndquadrant.com>
Permalink:  ../4BB02AFA.9050305@2ndquadrant.com/
Also on:    postgresql.org/message-id/4BB02AFA.9050305@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: greg@2ndquadrant.com, reydan.cankur@gmail.com
  Subject: Re: Pgbench TPS Calculation
  In-Reply-To: <4BB02AFA.9050305@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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