Re:Many small queries are efficient in SQLite
by beagle3 on Tuesday February 16, 2021 @08:26AM
(#26153612)
In Python you just have to open the special file name “:memory:” to get a memory-based db. I don’t remember what the raw SQLite incantation is (or if it’s different). Also, pay attention to “ATTACH” - it’s the way to use multiple databases (file and/or memory) while still letting SQLite handle it all (e.g. join a memory db to a file db, insert result into 3rd file db - all without having to look at records in your own code)
[ Parent
| on HN ]