Re: Options for growth - Mailing list pgsql-hackers

From Adrian 'Dagurashibanipal' von Bidder
Subject Re: Options for growth
Date
Msg-id 1042736358.2269.133.camel@altfrangg.fortytwo.ch
Whole thread Raw
In response to Options for growth  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Responses Re: Options for growth  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-hackers
On Thu, 2003-01-16 at 17:42, D'Arcy J.M. Cain wrote:

> We are also looking at hardware solutions, multi-CPU PCs with tons (24GB) of
> memory.  I know that memory will improve access if it prevents swapping but
> how well does PostgreSQL utilize multiple CPUs?

At most one CPU is used for any single postgres backend (that means for
any single database connection). So, if your load problem is single
queries being too slow, thee's nothing you can do with adding more CPUs.
If your problem is many connections maxing out the db, PostgreSQL can
take full advantage of multiple CPUs.

Of course, most db apps still are not cpu bound, so you'd have to do
some careful benchmarking first or you'll be spending too much money.

cheers
-- vbi

--
get my gpg key here: http://fortytwo.ch/gpg/92082481

pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: Oracle rant
Next
From: Neil Conway
Date:
Subject: Re: Options for growth