Tom Lane wrote: > "Heikki Linnakangas" <[EMAIL PROTECTED]> writes: >> * mmap the WAL segments, instead of using the slru buffers. > > This one's almost certainly a nonstarter, for lack of any portable way > to control when writes happen.
For flushing, there's msync, which I believe is quite portable. We mustn't write data pages before the WAL hits the disk, but we don't have any such limitation for WAL. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend