Re: Let's make PostgreSQL multi-threaded
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>, Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2023-06-05T16:42:06Z
Lists: pgsql-hackers
On Mon, Jun 5, 2023 at 01:26:00PM -0300, Ranier Vilela wrote: > On 05/06/2023 11:18, Tom Lane wrote: > > For the record, I think this will be a disaster. There is far too much > > code that will get broken, largely silently, and much of it is not > > under our control. > > I fully agreed with Tom. > > First, it is not clear what are the benefits of architecture change? > > Performance? > > Development becomes much more complicated and error-prone. I agree the costs of going threaded have been reduced with compiler and library improvements, but I don't know if they are reduced enough for the change to be a net benefit, except on Windows where the process creation overhead is high. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.