AW: [HACKERS] mmap and MAP_ANON

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема AW: [HACKERS] mmap and MAP_ANON
Дата
Msg-id 01BD7F2B.6037C1B0@zeugswettera.user.lan.at
обсуждение исходный текст
Ответы Re: AW: [HACKERS] mmap and MAP_ANON  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
>> - Could we use mmap:ing of files at a higher level then
>>   src/backend/strorage/ipc/ipc.c to get even better performance
>>   and cleaness?
>
>Yes, we could use mmap() to map the actual files.  I will post time
>timings on this soon.

I do not think this will be a practicable solution, since it would mean the whole db
has to mmap'ed. This means there has to be enough virtual memory to hold
the complete database, or at least one table at a time. Or do I understand this wrong ??

Andreas


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: It must be too early
Следующее
От: Andreas Zeugswetter
Дата:
Сообщение: Re: [HACKERS] mmap and MAP_ANON