Re: Separate connection handling from backends - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Separate connection handling from backends
Date
Msg-id CAMsr+YFAZeW2GJgJatyPgTDEdkXfsSC_XFaCUpuV2UYWPOxNCg@mail.gmail.com
Whole thread Raw
In response to Re: Separate connection handling from backends  (Kevin Grittner <kgrittn@gmail.com>)
List pgsql-hackers
On 7 December 2016 at 22:27, Kevin Grittner <kgrittn@gmail.com> wrote:

> I don't know how that execution model would compare to what we use
> now in terms of performance, but its popularity makes it hard to
> ignore as something to consider.

Those engines also tend to be threaded. They can stash state in memory
and hand it around between executors in ways we cannot really do.

I'd love to see a full separation of executor from session in
postgres, but I can't see how it could be at all practical. The use of
globals for state and the assumption that session == backend is baked
in way too deep.

At least, I think it'd be a slow and difficult thing to change, and
would need many steps. Something like what was proposed upthread would
possibly make sense as a first step.

But again, I don't see anyone who's likely to actually do it.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Test "tablespace" fails during `make installcheck` on master-replica setup
Next
From: Amit Langote
Date:
Subject: Re: Declarative partitioning - another take