pgsql: Update mmap details: < portability issues.

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Update mmap details: < portability issues.
Date: 2004-11-09 03:57:44
Message-ID: 20041109035744.622AF3A4227@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/doc:
TODO (r1.1390 -> r1.1391)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/TODO.diff?r1=1.1390&r2=1.1391)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-09 04:14:09 pgsql: Fix typo: < Such indexes could be more compact if there are
Previous Message Bruce Momjian 2004-11-09 03:57:17 pgsql: Remove mmap TODO.detail, now in TODO.