pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grega Bremec <gregab@noviforum.si>
To: mlists <mlists@panforma.co.yu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres and multiprocessor?
Date: Mon, 8 Mar 2004 11:55:20 +0100
Message-ID: <20040308105520.GA4669@elbereth.noviforum.si> (raw)
In-Reply-To: <404C49BD.6010007@panforma.co.yu>
References: <404C49BD.6010007@panforma.co.yu>

...and on Mon, Mar 08, 2004 at 11:23:57AM +0100, mlists used the keyboard:
>
> Can PostgreSQL use multiple processors if they are present in a 
> computer, and if so, how much will it speed up database server? Tnx in 
> advance.
> 
> Dragan

It can, on platforms that support SMP. The load will be balanced across the
processors on a per-backend basis, that is, an even number of concurrent
connections have a good chance of being spread across both processors evenly,
but that may vary according to the actual load on the machine.

PostgreSQL backend is, for the time being, not multithreaded, which means
that one single connection to the database backend will not experience any
benefit due to SMP architecture of the database server.

Hope this helped,
-- 
    Grega Bremec
    Senior Administrator
    Noviforum Ltd., Software & Media
    http://www.noviforum.si/

view thread (5+ messages)  latest in thread

Message-ID: <20040308105520.GA4669@elbereth.noviforum.si>
Permalink:  ../20040308105520.GA4669@elbereth.noviforum.si/
Also on:    postgresql.org/message-id/20040308105520.GA4669@elbereth.noviforum.si

 · 

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: gregab@noviforum.si, mlists@panforma.co.yu
  Subject: Re: Postgres and multiprocessor?
  In-Reply-To: <20040308105520.GA4669@elbereth.noviforum.si>
  References: <404C49BD.6010007@panforma.co.yu> <20040308105520.GA4669@elbereth.noviforum.si>

* 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