Re: dynamic shared memory: wherein I am punished for good intentions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: dynamic shared memory: wherein I am punished for good intentions
Дата
Msg-id CA+Tgmoav1bYgDbZPQopS0Ak2AXJTSmr_5b1UTHyQBpaZFWpdJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: dynamic shared memory: wherein I am punished for good intentions  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Thu, Oct 10, 2013 at 5:14 PM, Josh Berkus <josh@agliodbs.com> wrote:
>>> Doesn't #2 negate all advantages of this effort?  Bringing sysv
>>> management back on the table seems like a giant step backwards -- or
>>> am I missing something?
>>
>> Not unless there's no difference between "the default" and "the only option".
>
> Well, per our earlier discussion about "the first 15 minutes", there
> actually isn't a difference.

Harsh.  :-)

> I can only see two reasonable alternatives:
>
> This one:
>> (3) Add a new setting that auto-probes for a type of shared memory
>> that works.  Try POSIX first, then System V.  Maybe even fall back to
>> mmap'd files if neither of those works.
>
> Or:
>
> (5) Default to POSIX, and allow for SysV as a compile-time option for
> platforms with poor POSIX memory support.

OK, I did #5.  Let's see how that works.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Compression of full-page-writes
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: dynamic shared memory: wherein I am punished for good intentions