Re: Let's make PostgreSQL multi-threaded

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: Ilya Anfimov <ilan@tzirechnoy.com>, pgsql-hackers@lists.postgresql.org, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-06-08T19:10:35Z
Lists: pgsql-hackers
On Fri, Jun 9, 2023 at 5:02 AM Ilya Anfimov <ilan@tzirechnoy.com> wrote:
>  Isn't  all  the  memory operations would require nearly the same
> shared memory allocators if someone switches to a threaded imple-
> mentation?

It's true that we'd need concurrency-aware MemoryContext
implementations (details can be debated), but we wouldn't need that
address translation layer, which adds a measurable cost at every
access.