Re: postgresql 8.3 tps rate - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: postgresql 8.3 tps rate
Date
Msg-id 20090122190011.GJ4296@alvh.no-ip.org
Whole thread Raw
In response to postgresql 8.3 tps rate  (Ibrahim Harrani <ibrahim.harrani@gmail.com>)
Responses Re: postgresql 8.3 tps rate  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-performance
Ibrahim Harrani escribió:

> I made several benchmark test with pgbench, TPS rate is almost 40 +/- 5.
> $ pgbench -i pgbench -s 50 -U pgsql
>
> [pgsql@$ pgbench -c 200 -t 2 -U pgsql -d pgbench

Try with 1000 transactions per client or more, instead of 2.

Also, I think you should set the "scale" in the prepare step (-i) at
least as high as the number of clients you're going to use.  (I dimly
recall some recent development in this area that might mean I'm wrong.)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-performance by date:

Previous
From: "M. Edward (Ed) Borasky"
Date:
Subject: Re: linux, memory (mis)accounting/reporting, and the planner/optimizer
Next
From: Harold A. Giménez Ch.
Date:
Subject: Question about clustering indexes and restores