Pgbench TPS Calculation

Поиск
Список
Период
Сортировка
Искать

Pgbench TPS Calculation

От:
Reydan Cankur <reydan.cankur@gmail.com>
Дата:
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

Re: Pgbench TPS Calculation

От:
Greg Smith <greg@2ndquadrant.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

FAQ