Re: postgresql 8.3 tps rate

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Ibrahim Harrani <ibrahim(dot)harrani(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: postgresql 8.3 tps rate
Date: 2009-01-22 16:37:47
Message-ID: 1232642267.20984.5.camel@jd-laptop.pragmaticzealot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, 2009-01-22 at 17:47 +0200, Ibrahim Harrani wrote:
> Hi,
>
> I am running postgresql 8.3.5 on FreeBSD with Dual core Intel(R)
> Xeon(R) CPU 3065 @ 2.33GHz, 2GB RAM and Seagate Technology -
> Barracuda 7200.10 SATA 3.0Gb/ (RAID 1).
>
> I made several benchmark test with pgbench, TPS rate is almost 40 +/- 5.
> $ pgbench -i pgbench -s 50 -U pgsql
>
> [pgsql(at)$ pgbench -c 200 -t 2 -U pgsql -d pgbench
>
> transaction type: TPC-B (sort of)
> scaling factor: 10
> number of clients: 200
> number of transactions per client: 2
> number of transactions actually processed: 400/400
> tps = 39.044088 (including connections establishing)
> tps = 41.528795 (excluding connections establishing)
>
> [pgsql(at)$ pgbench -c 100 -t 5 -U pgsql -d pgbench
>
> transaction type: TPC-B (sort of)
> scaling factor: 10
> number of clients: 100
> number of transactions per client: 5
> number of transactions actually processed: 500/500
> tps = 30.162271 (including connections establishing)
> tps = 30.643256 (excluding connections establishing)
>
> Is this rate is normal or not? What can I do to improve tps and insert
> performance?

Run a real benchmark. Running 400/500 transactions doesn't give you any
real indication of what is going on. Run 50000 or so and see how it
looks.

Joshua D. Drake

--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2009-01-22 16:59:48 Re: linux, memory (mis)accounting/reporting, and the planner/optimizer
Previous Message Claus Guttesen 2009-01-22 16:36:36 Re: postgresql 8.3 tps rate