Re: One process per session lack of sharing - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: One process per session lack of sharing
Date
Msg-id CAMsr+YEjbvpWqpvu7751gwjP1rY2bHWYRiRQPM8pEq3eGso4nQ@mail.gmail.com
Whole thread Raw
In response to Re: One process per session lack of sharing  (AMatveev@bitec.ru)
Responses Re: One process per session lack of sharing  (Jan Wieck <jan@wi3ck.info>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: One process per session lack of sharing
Next
From: Craig Ringer
Date:
Subject: Re: Version number for pg_control