LMDB vs SQLite
LMDB
symas.comSQLite
sqlite.orgSide by side
| Figure | LMDB | SQLite |
|---|---|---|
| Price from | — | $12.50/mo |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 16 |
| Spec score · Embedded Databases | 7.5 (#22) | 8.7 (#3) |
| Headquarters | Grand Junction, Colorado, USA | Charlotte, North Carolina, USA |
| License | Symas states that LMDB is part of OpenLDAP and is under the OpenLDAP license, basically a BSD-style license. | SQLite source code is in the public domain and is free for commercial or private use without a license. |
| Support | Symas offers fixed-price Gold or Enterprise source-level support and porting or professional services for LMDB users. | SQLite offers a free public forum as well as paid private email and technical support options. |
| Transactions | LMDB provides full ACID semantics with MVCC, reader/writer transactions, and deadlock-free serialized writes. | SQLite transactions are atomic, consistent, isolated, and durable even after system crashes and power failures. |
Plans
SQLite
- Public ForumFree
- SQLiteFree
- SQLite Consortium Membership$150 a year
- Technical Support$885 a year
- Annual Maintenance Subscription$1,500 a year
- Annual Maintenance Subscription$1,500 a year
- CEROD$2,000, paid once
- CEROD$2,000, paid once
- SQLite Encryption Extension (SEE)$2,000, paid once
- SQLite Encryption Extension (SEE)$2,000, paid once
In their own words
SQLite
SQLite is a transactional SQL database engine that runs within an application, without a separate server process or configuration. Each complete database resides in a single disk file that works across platforms. Its SQL features include partial indexes, indexes on expressions, JSON, common table expressions, and window functions. Transactions are atomic, consistent, isolated, and durable, including after system crashes and power failures. A database file can have unlimited simultaneous readers, but only one writer at a time. The project recommends SQLite for device-local storage with low writer concurrency and less than a terabyte of content. SQLite is free for commercial or private use, with source code in the public domain. Downloads include source and precompiled binaries for Android, Linux, Mac OS X, and Windows, along with WebAssembly and JavaScript bundles for web applications. A free public forum is available, alongside paid private email and technical support options. The maker is based in Charlotte, North Carolina, and was founded in 2000.