Re: Postgresql and multithreading

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Anuradha Ratnaweera <anuradha(at)lklug(dot)pdn(dot)ac(dot)lk>
Cc: pgsql-hackers(at)postgresql(dot)org, anuradha(at)gnu(dot)org
Subject: Re: Postgresql and multithreading
Date: 2002-10-16 05:25:23
Message-ID: 200210160525.g9G5POI05225@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Anuradha Ratnaweera wrote:
> On Wed, Oct 16, 2002 at 12:59:57AM -0400, Bruce Momjian wrote:
> > Anuradha Ratnaweera wrote:
> > >
> > > Is there any plans to make postgresql multithreading?
> >
> > We don't think it is needed, except perhaps for Win32 and Solaris, which
> > have slow process creation times.
>
> Thanks, Bruce. But what I want to know is whether multithreading is
> likely to get into in postgresql, say somewhere in 8.x, or even in 9.x?
> (as they did with Apache). Are there any plans to do so, or is postgres
> going to remain rather a multi-process application?

It may be optional some day, most likely for Win32 at first, but we see
little value to it on most other platforms; of course, we may be wrong.
I am also not sure if it is a big win on Apache either; I think the
jury is still out on that one, hence the slow adoption of 2.X, and we
don't want to add threads and make a mess of the code or slow it down,
which does often happen.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anuradha Ratnaweera 2002-10-16 05:34:43 Re: Postgresql and multithreading
Previous Message Gavin Sherry 2002-10-16 05:24:03 Re: Postgresql and multithreading