TIL SQLite has a memory mapping option. https://phiresky.github.io/blog/2020/sqlite-performance-tuning/