If you think about it, it’s a bit tragic that the APIs operating systems offer for memory mapped files are not enough for databases. The operating system already has all the caching logic in place and can do so more efficiently with hardware support.<p>If you have data that rarely changes you can actually create an ad-hoc database system based on that and have performance like an in memory database without having to worry much about the memory of the system.