Re: Postgresql and multithreading

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Anuradha Ratnaweera <anuradha@lklug.pdn.ac.lk>
Cc: pgsql-hackers@postgresql.org, anuradha@gnu.org
Date: 2002-10-16T05:25:23Z
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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073