Re: [HACKERS] fork/exec for backend

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] fork/exec for backend
Дата
Msg-id 199801251544.KAA17802@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-hackers
>
>
> > This would also prevent us from attaching to shared memory because it
> > would already be in the address space.
>
> With no exec we could use mmap instead of shm*.
> Have to clock them to see which one is faster first.
> I think the mmap API is cleaner.

Yes, we really only need memory that is not going to be copy-on-write
when you fork.  Both types would do this, but since it would already be
in the address space, there is no speed to measure.  The postmaster is
the only one to do the actual operation.

--
Bruce Momjian
maillist@candle.pha.pa.us

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

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] A small type extension example for the contrib directory (fwd)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] A small type extension example for the contrib directory (fwd)