Re: One process per session lack of sharing

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: One process per session lack of sharing
Дата
Msg-id CAMsr+YEjbvpWqpvu7751gwjP1rY2bHWYRiRQPM8pEq3eGso4nQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: One process per session lack of sharing  (AMatveev@bitec.ru)
Ответы Re: One process per session lack of sharing  (Jan Wieck <jan@wi3ck.info>)
Список pgsql-hackers
On 15 July 2016 at 20:54, <AMatveev@bitec.ru> wrote:
Hi


> but parallel processing doesn't requires threading support - see PostgreSQL 9.6 features.

To   share  dynamic  execution  code between threads much more easy(If sharing this code between process is possible).
There  is  many  other  interaction techniques  between threads which is
absence between process.



We have shared memory.

How do you think the buffer cache works?

Lots more could be shared, too. Cached plans, for example.

It's possible. You just have to change how you think about it, and you might not be able to do it within the framework of the JVM. So it's quite possibly not worth it for you. Nonetheless, don't assume it can't be done just because you can't do it the way you're used to thinking of doing it.


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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: One process per session lack of sharing
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Version number for pg_control