OSDN Git Service

Update mmap details:
authorBruce Momjian <bruce@momjian.us>
Tue, 9 Nov 2004 03:57:42 +0000 (03:57 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 9 Nov 2004 03:57:42 +0000 (03:57 +0000)
commit8dd602e41ee2c61fd62dc2a07270966be37bef28
tree8d6b16bf3ac86775d2281b5149a92f4addbcc995
parentd9ab482abbb18cca6b6cb32dc46700431b208cb6
Update mmap details:

<   portability issues. Anonymous mmap is required to prevent I/O
<   overhead.
>   portability issues. Anonymous mmap (or mmap to /dev/zero) is required
>   to prevent I/O overhead.
>
> * Consider mmap()'ing files into a backend?
>
>   Doing I/O to large tables would consume a lot of address space or
>   require frequent mapping/unmapping.  Extending the file also causes
>   mapping problems that might require mapping only individual pages,
>   leading to thousands of mappings.  Another problem is that there is no
>   way to _prevent_ I/O to disk from the dirty shared buffers so changes
>   could hit disk before WAL is written.
doc/TODO