pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ketema <ketema@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Hardware for PostgreSQL
Date: Wed, 31 Oct 2007 09:45:08 -0700
Message-ID: <1193849108.591961.103570@22g2000hsm.googlegroups.com> (raw)

I am trying to build a very Robust DB server that will support 1000+
concurrent users (all ready have seen max of 237 no pooling being
used).  I have read so many articles now that I am just saturated.  I
have a general idea but would like feedback from others.

I understand query tuning and table design play a large role in
performance, but taking that factor away
and focusing on just hardware, what is the best hardware to get for Pg
to work at the highest level
(meaning speed at returning results)?

How does pg utilize multiple processors?  The more the better?
Are queries spread across multiple processors?
Is Pg 64 bit?
If so what processors are recommended?

I read this : http://www.postgresql.org/files/documentation/books/aw_pgsql/hw_performance/node12.html
POSTGRESQL uses a multi-process model, meaning each database
connection has its own Unix process. Because of this, all multi-cpu
operating systems can spread multiple database connections among the
available CPUs. However, if only a single database connection is
active, it can only use one CPU. POSTGRESQL does not use multi-
threading to allow a single process to use multiple CPUs.

Its pretty old (2003) but is it still accurate?  if this statement is
accurate how would it affect connection pooling software like pg_pool?

RAM?  The more the merrier right? Understanding shmmax and the pg
config file parameters for shared mem has to be adjusted to use it.
Disks?  standard Raid rules right?  1 for safety 5 for best mix of
performance and safety?
Any preference of SCSI over SATA? What about using a High speed (fibre
channel) mass storage device?

Who has built the biggest baddest Pg server out there and what do you
use?

Thanks!




view thread (19+ messages)  latest in thread

Message-ID: <1193849108.591961.103570@22g2000hsm.googlegroups.com>
Permalink:  ../1193849108.591961.103570@22g2000hsm.googlegroups.com/
Also on:    postgresql.org/message-id/1193849108.591961.103570@22g2000hsm.googlegroups.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 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-performance@postgresql.org
  Cc: ketema@gmail.com
  Subject: Re: Hardware for PostgreSQL
  In-Reply-To: <1193849108.591961.103570@22g2000hsm.googlegroups.com>
  References: <1193849108.591961.103570@22g2000hsm.googlegroups.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