Re: Is PostgreSQL multi-threaded?

From: Martijn van Oosterhout <martijn(at)apex(dot)net(dot)au>
To: Rich Teer <richard(dot)teer(at)rite-group(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Is PostgreSQL multi-threaded?
Date: 2000-05-30 14:49:21
Message-ID: 3933D4F1.1F0CDC50@apex.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rich Teer wrote:
>
> On Mon, 29 May 2000, Joseph Shraibman wrote:
>
> > > Postgresql works under a multi-process model, it will take advantage
> > > of multiple processors. However it not multi-threaded.
> > >
> > So in other words, it *is* multithreaded. It just uses heavyweight
> > threads.
>
> Thanks - but I did mean (light weight) threads, as opposed to processes.
> I think the former can be more efficient than the latter - although perhaps
> a bit more tricky to design well!

Whenever someone talks about multithreaded, I think they are
missing something important. Namely, that the performance
difference between threads and processes is really not that
great and separate processes are far and away more robust.
It's almost impossible for one backend to accedently affect
another.
--
Martijn van Oosterhout <kleptog(at)cupid(dot)suninternet(dot)com>
http://cupid.suninternet.com/~kleptog/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jpnoirault 2000-05-30 15:26:13 Where is EARP ?
Previous Message Thomas Good 2000-05-30 14:39:35 Re: Postgresql usage clip.