Re: Is Posgresql and Interchange multithreaded?

Lists: pgsql-admin
From: "Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com>
To: "InterChange Users (E-mail)" <interchange-users(at)interchange(dot)redhat(dot)com>, "Pgsql Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Is Posgresql and Interchange multithreaded?
Date: 2002-04-01 17:56:27
Message-ID: 01BDB7EEF8D4D3119D95009027AE999511DD2D2B@FMSMSX33
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Is Postgresql multithreaded i.e can it take advantange of multiprocessor
systems (4 ways)? Is Interchange written as multithreaded application?
What is the most processors you have seen Postgresql running on?

Jeff


From: "Chad R(dot) Larson" <chad(at)eldocomp(dot)com>
To: "Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com>, "InterChange Users (E-mail)" <interchange-users(at)interchange(dot)redhat(dot)com>, "Pgsql Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is Posgresql and Interchange multithreaded?
Date: 2002-04-01 20:23:02
Message-ID: 4.2.2.20020401132114.00c69390@ecint.ecinet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

At 10:56 AM 4/1/2002 , Gill, Jeffrey L wrote:
>Is Postgresql multithreaded i.e can it take advantange of multiprocessor
>systems (4 ways)?

Not presactly multithreaded, but since every connection to the database
gets its own backend process, PostgreSQL will make use of multi processors
as long as there are multiple clients.

-crl
--
Chad R. Larson (CRL22) chad(at)eldocomp(dot)com
Eldorado Computing, Inc. 602-604-3100
5353 North 16th Street, Suite 400
Phoenix, Arizona 85016-3228


From: Jeremy Buchmann <jeremy(at)wellsgaming(dot)com>
To: "Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com>
Cc: "Pgsql Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is Posgresql and Interchange multithreaded?
Date: 2002-04-01 21:02:30
Message-ID: 3CA8CAE6.1010801@wellsgaming.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com>
Cc: "Pgsql Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is Posgresql and Interchange multithreaded?
Date: 2002-04-01 21:04:28
Message-ID: Pine.LNX.4.30.0204011602310.683-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Gill, Jeffrey L writes:

> Is Postgresql multithreaded

No.

> i.e can it take advantange of multiprocessor systems (4 ways)?

That doesn't have anything to do with it.

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

PostgreSQL can use one processor per connection. There's no theoretical
limit to that.

--
Peter Eisentraut peter_e(at)gmx(dot)net


From: "Gaetano Mendola" <mendola(at)bigfoot(dot)com>
To: "Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com>, "InterChange Users (E-mail)" <interchange-users(at)interchange(dot)redhat(dot)com>, "Pgsql Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is Posgresql and Interchange multithreaded?
Date: 2002-04-02 18:40:30
Message-ID: 004601c1da75$dde97d20$5ce8fea9@GMENDOLA2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

"Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com> wrote:
> Is Postgresql multithreaded i.e can it take advantange of multiprocessor
> systems (4 ways)? Is Interchange written as multithreaded application?
> What is the most processors you have seen Postgresql running on?

Our server is a Dell with 4 processors.

Ciao
Gaetano

--
#exclude <windows>
#include <CSRSS>
printf("\t\t\b\b\b\b\b\b");.
printf("\t\t\b\b\b\b\b\b");