Re: Let's make PostgreSQL multi-threaded

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Ilya Anfimov <ilan(at)tzirechnoy(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Let's make PostgreSQL multi-threaded
Date: 2023-06-08 19:10:35
Message-ID: CA+hUKGLe8mkq_4AQqndkuaW80GVCVKcpw9KMCookce7Ep==wQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 9, 2023 at 5:02 AM Ilya Anfimov <ilan(at)tzirechnoy(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jose Luis Tallon 2023-06-08 19:30:28 Re: Let's make PostgreSQL multi-threaded
Previous Message Gregory Smith 2023-06-08 19:08:57 Major pgbench synthetic SELECT workload regression, Ubuntu 23.04+PG15