Re: Is Posgresql and Interchange multithreaded? - Mailing list pgsql-admin

From Jeremy Buchmann
Subject Re: Is Posgresql and Interchange multithreaded?
Date
Msg-id 3CA8CAE6.1010801@wellsgaming.com
Whole thread Raw
In response to Is Posgresql and Interchange multithreaded?  ("Gill, Jeffrey L" <jeffrey.l.gill@intel.com>)
List pgsql-admin
Gill, Jeffrey L wrote:
> Is Postgresql multithreaded i.e can it take advantange of multiprocessor
> systems (4 ways)?

PostgreSQL is a multi-process application, meaning each connection to the
database gets it's own process.  So if the operating system schedules the
processes on different processors, then they will run truly parallel which
will be faster than if you had just one processor.  But if you're just doing
one connection at a time, no, you won't see any speedup.  You can't
have multiple processors working on the same query, for example.

> Is Interchange written as multithreaded application?

Don't know what that is.

> What is the most processors you have seen Postgresql running on?

One.  :)

--Jeremy



pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Is Posgresql and Interchange multithreaded?
Next
From: Jeremy Buchmann
Date:
Subject: Re: How much memory does postgresql require?