Re: Data Packaging/Data Unpacking

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Data Packaging/Data Unpacking
Дата
Msg-id CAKFQuwbUge+-oeGiXq7mzq5TYYr85U640cFSbOHk4G9+uzTuhw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Data Packaging/Data Unpacking  (oleg yusim <olegyusim@gmail.com>)
Ответы Re: Data Packaging/Data Unpacking
Список pgsql-general
On Wed, Jan 13, 2016 at 2:37 PM, oleg yusim <olegyusim@gmail.com> wrote:
OK, Kevin, David,

Thanks you very much for explanation. Now who is the owner of this process? My understanding is, data then located physically in RAM, in the memory stack assigned by OS to this process. Now the question is who owns the process?


Who owns the PostgreSQL backend user process?​
 
​Typically the ​"postgres" user.
Who owns the "process" responsible for marshalling data back and forth from RAM?  There isn't really a concept of "process" when dealing with system resources.  The kernel is responsible for management of those resources.  Processes are a user-space concern.

There may be some here concerned with the deep workings of the various O/S that PostgreSQL runs on but ultimately the answer, from PostgreSQL's perspective, is that we use system APIs to request and use resources and expect the underlying system to handle those securely.  If you want to know how that layer works you should ask there since it seems out-of-scope for this forum.

David J.

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: WIP: CoC V5
Следующее
От: oleg yusim
Дата:
Сообщение: Re: Data Packaging/Data Unpacking