Work  /  Databases

SQLite

About 18× faster large analytic queries—and 5–6× higher write throughput at the same durability.

about 18×
faster large analytic query (data warm, latest results)
about 13×
faster even counting first-time preparation (latest results)
5–6×
higher write throughput at the same durability
Side by side

Against stock

One large analytic queryAbout 200 MB database, desktop, latest results. Times faster than stock SQLite.
Stock SQLite1×
Talarea, first run13×
Talarea, warm18×
Write throughput at the same durabilityTimes stock SQLite.
Stock SQLite1×
Talarea5.5×

Same machine for every bar. Longer is faster.

The library

What it is

SQLite is the embedded database inside phones, browsers, desktop applications, and edge services. It is prized for simplicity and reliability, but large analytic queries and heavy write streams quickly become performance bottlenecks.

What we did

What we did

Applying our proprietary approach to SQLite, our latest results run a large analytic query on an approximately 200 MB database about 18× faster than stock with data warm, and about 13× faster even counting first-time preparation. On an older desktop, the same query runs about 14× faster.

For write-heavy workloads, we raised write throughput by 5–6× on the same hardware while preserving identical durability guarantees, and our general drop-in build runs 5–16% faster across most workloads.

Measurements

Results

WorkloadSettingvs. stock
Large analytic query (data warm)~200 MB database, latest resultsabout 18×
Large analytic query (first run)~200 MB database, counting first-time preparation, latest resultsabout 13×
Large analytic query (older desktop)~200 MB database, latest resultsabout 14×
Write throughputSame durability as stock5–6×

The analytic query speedups (about 18× with data warm, about 13× counting first-time preparation, and about 14× on an older desktop) reflect our latest results. The fastest query mode trades some write speed; our write-optimised build preserves stock durability.

Demo available

See this work live

Want to see side-by-side runs on your own hardware or data? Request a live demo with our engineering team.

Request a demo