Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 2AC049F998F for ; Wed, 5 Sep 2007 21:08:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 10721-05 for ; Wed, 5 Sep 2007 21:08:00 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by postgresql.org (Postfix) with ESMTP id F20D29F9925 for ; Wed, 5 Sep 2007 21:07:59 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id m38so3043435waf for ; Wed, 05 Sep 2007 17:07:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N9LpB/NFfVxsGq0P6NYEmKs6wrivLdWY1nTFl7oE6bUBZUmnNO39V3FSXgu1qsQyMp2Mcl1w7Y+ApImHtQFniPTxv+rD/6nyHn4GJUaWGz+hthzqhcUhUKBj9Dj8gf4FuJYTcZR7y4aDc3kP+RpSuuXiCl1biubnErVRACT4jT4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cG+uE9ikD2Kx1TSyFSRx+DrgSS51ZIihQSSSAutManuNCvlwBrhYjPbAHe4lRPAlQoC9GLWC0NYIQDR7U4DVjA0G2dIXUYYioAcusCPk3csmQuC53DYGv0x2lN7OxpCDh+acEucQbbSOI76qqpXkqFC9QBonXJkgpHDtJbke0QQ= Received: by 10.115.109.1 with SMTP id l1mr1707669wam.1189037277695; Wed, 05 Sep 2007 17:07:57 -0700 (PDT) Received: by 10.114.75.8 with HTTP; Wed, 5 Sep 2007 17:07:57 -0700 (PDT) Message-ID: <90bce5730709051707j30fb4ac9w4c65158f736e22e5@mail.gmail.com> Date: Wed, 5 Sep 2007 17:07:57 -0700 From: "Trevor Talbot" To: "Thomas Finneid" Subject: Re: utilising multi-cpu/core machines? Cc: pgsql-performance@postgresql.org In-Reply-To: <46DF3082.7040301@ifi.uio.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46DF3082.7040301@ifi.uio.no> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/68 X-Sequence-Number: 26613 On 9/5/07, Thomas Finneid wrote: > how does pg utilise multi cpus/cores, i.e. does it use more than one > core? and possibly, how, are there any documentation about this. PostgreSQL creates a new process to handle each connection to the database. Multiple sessions can therefore spread across multiple cores, but a single session will never use more than one.