Re: - Mailing list pgsql-general

From Doug McNaught
Subject Re:
Date
Msg-id m3eluhypzk.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to ...  ("Ashley T. Howes" <ashley@turton.com>)
List pgsql-general
"Ashley T. Howes" <ashley@turton.com> writes:

> I was wondering if PostgreSQL takes advantage of multiple CPUs when
> placed in a single Linux box.  Or are multiple CPUs utilised as long
> as the Linux kernel is compiled to take advantage of them?

Well, obviously you need an SMP kernel.

Since the PG backend is one process per client, multiple CPUs will
definitely help for multiple clients connecting.  They won't help with
queries for a single client, as there is currently no code to split up
the queries and run the parts on different CPUs.

-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan

pgsql-general by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Joined table view - multiple delete action rule
Next
From: Geoff Caplan
Date:
Subject: Newbie struggling to set $PGDATA