pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anibal David Acosta <aa@devshock.com>
To: pgsql-performance@postgresql.org
Subject: how much postgres can scale up?
Date: Fri, 10 Jun 2011 07:29:14 -0400
Message-ID: <000601cc2761$a2e3a280$e8aae780$@devshock.com> (raw)

I have a function in pgsql language, this function do some select to some
tables for verify some conditions and then do one insert to a table with NO
index. Update are not performed in the function

When 1 client connected postgres do 180 execution per second
With 2 clients connected postgres do 110 execution per second
With 3 clients connected postgres do 90 execution per second

Finally with 6 connected clients postgres do 60 executions per second
(totally 360 executions per second)

While testing, I monitor disk, memory and CPU and not found any overload.

I know that with this information you can figure out somethigns, but in
normal conditions, Is normal the degradation of performance per connection
when connections are incremented?
Or should I spect 180 in the first and something similar in the second
connection? Maybe 170?


The server is a dual xeon quad core with 16 GB of ram and a very fast
storage
The OS is a windows 2008 R2 x64

Thanks

Anibal





view thread (11+ messages)  latest in thread

Message-ID: <000601cc2761$a2e3a280$e8aae780$@devshock.com>
Permalink:  ../000601cc2761$a2e3a280$e8aae780$@devshock.com/
Also on:    postgresql.org/message-id/000601cc2761$a2e3a280$e8aae780$@devshock.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: aa@devshock.com
  Subject: Re: how much postgres can scale up?
  In-Reply-To: <000601cc2761$a2e3a280$e8aae780$@devshock.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