Switchable memory/file-based database.