"Tom Lane" <[EMAIL PROTECTED]> writes: > "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.
I think mlock and msync(MS_SYNC) ought to be enough. I'm not sure every OS implements them as specified though. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend