https://phiresky.github.io/blog/2020/sqlite-performance-tuning/