Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 646699FBD02 for ; Tue, 8 May 2007 20:26:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 55181-03 for ; Tue, 8 May 2007 20:26:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from bifrost.lang.hm (dsl081-033-126.lax1.dsl.speakeasy.net [64.81.33.126]) by postgresql.org (Postfix) with ESMTP id 1D2B89FBAA8 for ; Tue, 8 May 2007 20:26:24 -0300 (ADT) Received: from asgard (asgard.lang.hm [10.0.0.100]) by bifrost.lang.hm (8.13.4/8.13.4/Debian-3) with ESMTP id l48NQMgI011183; Tue, 8 May 2007 16:26:22 -0700 Date: Tue, 8 May 2007 16:24:08 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: Carlos Moreno cc: Daniel Griscom , pgsql-performance@postgresql.org Subject: Re: Throttling PostgreSQL's CPU usage In-Reply-To: <4641061C.1080709@mochima.com> Message-ID: References: <4641061C.1080709@mochima.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/157 X-Sequence-Number: 24547 On Tue, 8 May 2007, Carlos Moreno wrote: > Daniel Griscom wrote: >> >> Several people have mentioned having multiple processors; my current >> machine is a uni-processor machine, but I believe we could spec the actual >> runtime machine to have multiple processors/cores. > > My estimate is that yes, you should definitely consider that. > >> I'm only running one query at a time; would that query be guaranteed to >> confine itself to a single processor/core? > > From what Joshua mentions, looks like you do have that guarantee. isn't there a way to limit how many processes postgres will create? if this is limited to 1, what happens when a vaccum run hits (or autovaccum) David Lang