pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Yu <wyu@talisys.com>
To: pgsql-admin@postgresql.org
Subject: Re: 2CPU 4GBRAM
Date: Tue, 09 Dec 2003 10:41:21 -0800
Message-ID: <br550h$orp$1@news.hub.org> (raw)
In-Reply-To: <033b01c3bc5c$282d81f0$5a0c0c38@progs01>
References: <033b01c3bc5c$282d81f0$5a0c0c38@progs01>

Jose Mendoza wrote:

> How can be efectivly configured the PostgreSQL to run in a machine with 
> 2 CPUs Xeon 2.4 GHz and 4GB of RAM? The PostgreSQL work with the 2 
> processors?
> I had run tests and the tiems is always the same that in a computer with 
> 1 CPU pentium 4   2.4GHz and 2GB RAM.

The way it works with Postgres is that discrete transactions/queries 
only run on a single processor. So if you only have 1 user running 1 
session, Postgres will never use more than 1 CPU.

With multiple users and/or multiple sessions, work is spread over the 
multiple CPUs.

> I intend to use the postgreSQL in several projects that requiere to 
> attend about 1000 - 2500 users in a chain of retail stores. Is is that 
> possible? Or is beyond that the postgresql possibilities?

I'm sure Postgres could handle it. Whether the hardware you currently 
have spec'd out could handle it or your application framework could 
handle it is a totally different story. We could give you our best guess 
based on more detailed info -- like how big is the total & working 
dataset, what are the usage patterns, what kind of queries/transactions 
are most common, etc. -- but you will definitely have to do your own 
profiling to get accurate numbers.




view thread (5+ messages)  latest in thread

Message-ID: <br550h$orp$1@news.hub.org>
Permalink:  ../br550h$orp$1@news.hub.org/
Also on:    postgresql.org/message-id/br550h$orp$1@news.hub.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: wyu@talisys.com
  Subject: Re: 2CPU 4GBRAM
  In-Reply-To: <br550h$orp$1@news.hub.org>
  References: <033b01c3bc5c$282d81f0$5a0c0c38@progs01> <br550h$orp$1@news.hub.org>

* 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