| ▲ | NorwegianDude 6 hours ago | |
I do t have time to test myself now, but it would be interesting to see a proper benchmark. We all know it's not suitable for high write concurrency, but SQLite should be a very good amount faster for reads because of the lack of overhead. But how much faster is it really? | ||
| ▲ | jacobobryant an hour ago | parent | next [-] | |
In some informal benchmarks I wrote using queries + data from a web app I develop, sqlite queries were about 5x faster than postgres. | ||
| ▲ | adzm 5 hours ago | parent | prev | next [-] | |
as an in memory database, I got around 40,000,000 reads per second. Using WAL and a file rather than in memory, around 900,000 reads per second. This is single threaded, for a simple integer ID to string Value query, and a few years old at this point, and only minor config optimizations eg not even using memory mapped io and a ~3gb database with a million or so rows on a Windows machine. The performance really is amazing. | ||
| ▲ | solumunus 5 hours ago | parent | prev [-] | |
Orders of magnitude I would imagine. Very significantly faster. | ||