Re: Postgres and multiprocessor? - Mailing list pgsql-admin

From Grega Bremec
Subject Re: Postgres and multiprocessor?
Date
Msg-id 20040308105520.GA4669@elbereth.noviforum.si
Whole thread Raw
In response to Postgres and multiprocessor?  (mlists <mlists@panforma.co.yu>)
List pgsql-admin
...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/

Attachment

pgsql-admin by date:

Previous
From: mlists
Date:
Subject: Postgres and multiprocessor?
Next
From: Silvana Di Martino
Date:
Subject: HIPAA