AW: [HACKERS] mmap and MAP_ANON

From: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>
To: "'Bruce Momjian'" <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: "'hackers(at)postgresql(dot)org'" <hackers(at)postgresql(dot)org>
Subject: AW: [HACKERS] mmap and MAP_ANON
Date: 1998-05-14 09:27:51
Message-ID: 01BD7F2B.6037C1B0@zeugswettera.user.lan.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Zeugswetter 1998-05-14 09:46:46 Re: [HACKERS] mmap and MAP_ANON
Previous Message Michael Meskes 1998-05-14 09:13:25 It must be too early