redb vs SQLite
redb
redb.orgSQLite
sqlite.orgSide by side
| Figure | redb | SQLite |
|---|---|---|
| Price from | — | $12.50/mo |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 16 |
| Spec score · Embedded Databases | 6.4 (#27) | 8.7 (#3) |
| API | Its API is zero-copy, thread-safe, and based on BTreeMap. | SQLite supplies a C/C++ API reference, Tcl bindings and application-defined SQL-function interfaces; bindings for many other languages are separate. |
| Documentation | The project links to its Rust API documentation on docs.rs. | Documentation includes overview guides, SQL syntax, pragmas, C/C++ APIs, compilation instructions, Android bindings, testing, FAQs and compatibility material. |
| License | The repository lists Apache-2.0 and MIT licenses. | SQLite source code is in the public domain and is free for commercial or private use without a license. |
| Maker | The project homepage credits Christopher Berner. | Paid support and products are provided by Hipp, Wyrick & Company, Inc. (Hwaci), headquartered in Charlotte, North Carolina, and in business since 1992. |
| Product | redb is a portable, high-performance embedded key-value store written in pure Rust. | SQLite is an in-process, self-contained, serverless, zero-configuration transactional SQL database engine. |
| Transactions | redb supports fully ACID-compliant transactions. | 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.