Re:But how, exactly, do databases use mmap?
by vlovich123 on Saturday January 23, 2021 @03:45PM
(#25885891)
Does that generalize to databases? My understanding is that file systems are a restricted case of databases that don’t necessarily support all operations (eg transactions are smaller, can’t do arbitrary queries within a transaction, etc etc).
Re:But how, exactly, do databases use mmap?
by jorangreef on Sunday January 24, 2021 @12:09AM
(#25889476)
I think it would, because if your underlying file system can provide crash consistency then that can be leveraged as a primitive by the database.
"the No-Order File System (NoFS), a simple, lightweight file system that employs a novel technique called backpointer based consistency to provide crash consistency without ordering writes as they go to disk"
http://pages.cs.wisc.edu/~vijayc/nofs.htm