Re: Separate connection handling from backends

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Separate connection handling from backends
Дата
Msg-id CAMsr+YFAZeW2GJgJatyPgTDEdkXfsSC_XFaCUpuV2UYWPOxNCg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Separate connection handling from backends  (Kevin Grittner <kgrittn@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Test "tablespace" fails during `make installcheck` on master-replica setup
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Declarative partitioning - another take