diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-11-09 03:57:42 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-11-09 03:57:42 +0000 |
commit | 8dd602e41ee2c61fd62dc2a07270966be37bef28 (patch) | |
tree | 8d6b16bf3ac86775d2281b5149a92f4addbcc995 /src/bin/scripts/common.c | |
parent | d9ab482abbb18cca6b6cb32dc46700431b208cb6 (diff) | |
download | postgresql-8dd602e41ee2c61fd62dc2a07270966be37bef28.tar.gz postgresql-8dd602e41ee2c61fd62dc2a07270966be37bef28.zip |
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.
Diffstat (limited to 'src/bin/scripts/common.c')
0 files changed, 0 insertions, 0 deletions