Re: How to force PostgreSQL to use multiple cores within one connection?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: "Sergey A(dot)" <n39052(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to force PostgreSQL to use multiple cores within one connection?
Date: 2008-10-01 10:48:01
Message-ID: 48E35561.8080508@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/10/2008 11:44, Sergey A. wrote:

> Using several connections in my application is somewhat tricky, so I
> want to move this problem to PostgreSQL's side. Is there any method
> for PostgreSQL to process huge inserts coming from one connection on
> different cores?

I don't think so. Postgres spawns a single process for each connection,
so each connection is going to be confined to a single core.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey A. 2008-10-01 11:20:23 Re: How to force PostgreSQL to use multiple cores within one connection?
Previous Message Sergey A. 2008-10-01 10:44:40 How to force PostgreSQL to use multiple cores within one connection?