Re: Throttling PostgreSQL's CPU usage

From: Carlos Moreno <moreno_pg(at)mochima(dot)com>
To:
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Throttling PostgreSQL's CPU usage
Date: 2007-05-08 22:46:42
Message-ID: 4640FDD2.9070304@mochima.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Joshua D. Drake wrote:
> 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 :-))
>
> PostgreSQL is process based, so if you have one query that is eating a
> lot of cpu, it is only one cpu... you would have another for your
> render to run on.

There is still the issue that there could be several (many?) queries
running
concurrently --- but that's much easier to control at the application
level;
so maybe simply using a multi-CPU/multi-core hardware would be the
simplest solution?

Carlos
--

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Orhan Aglagul 2007-05-08 22:59:13
Previous Message Steinar H. Gunderson 2007-05-08 22:40:05 Re: Throttling PostgreSQL's CPU usage