Re: Throttling PostgreSQL's CPU usage - Mailing list pgsql-performance

From Carlos Moreno
Subject Re: Throttling PostgreSQL's CPU usage
Date
Msg-id 4640FA6E.4050003@mochima.com
Whole thread Raw
In response to Re: Throttling PostgreSQL's CPU usage  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Responses Re: Throttling PostgreSQL's CPU usage  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Throttling PostgreSQL's CPU usage  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
List pgsql-performance
Steinar H. Gunderson wrote:
> Or use a dual-core system. :-)

Am I missing something??  There is just *one* instance of this idea in,
what,
four replies??  I find it so obvious, and so obviously the only solution
that
has any hope to work, that it makes me think I'm missing something ...

Is it that multiple PostgreSQL processes will end up monopolizing as many
CPU cores as you give it?  (ok, that would suck, for sure  :-))

If there is a way to guarantee (or at least to encourage) that PG will
not use
more than one, or even two cores, then a quad-core machine looks like a
promising solution...  One thing feels kind of certain to me:  the kind of
system that the OP describes has a most-demanding need for *extremely
high* CPU power --- multi-core, or multi-CPU, would seem the better
solution anyway, since it promotes responsiveness more than raw CPU
power.

Carlos
--


pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: What's The Difference Between VACUUM and VACUUM ANALYZE?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Throttling PostgreSQL's CPU usage