Re: Pgbench TPS Calculation

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Reydan Cankur <reydan(dot)cankur(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Pgbench TPS Calculation
Date: 2010-03-29 04:22:18
Message-ID: 4BB02AFA.9050305@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tadipathri Raghu 2010-03-29 04:56:33 Re: Optimizer showing wrong rows in plan
Previous Message Greg Smith 2010-03-29 04:21:34 Re: Database size growing over time and leads to performance impact