H2 Database Engine vs RxDB
H2 Database Engine
h2database.comRxDB
rxdb.infoSide by side
| Figure | H2 Database Engine | RxDB |
|---|---|---|
| Price from | Free | $99/mo |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 4 |
| Spec score · Embedded Databases | 8.1 (#9) | 8.0 (#12) |
| Encryption | The feature list says database files can be encrypted with AES-128 and remote JDBC connections can use TLS. | The encryption plugin encrypts locally stored documents with a password and works in browsers, React Native, and Node.js. |
| License | H2 is dual licensed under MPL 2.0 or EPL 1.0, and the license page says it can be integrated into and distributed with commercial applications. | The free tier is under the Apache 2.0 license. |
| Support | The home page directs users to Stack Overflow and a Google Group for support. | Free users receive community support through GitHub and Discord, while Enterprise includes a support SLA with a 24-hour first response. |
Plans
In their own words
H2 Database Engine
H2 Database Engine is a free SQL database written in Java. It runs in embedded, server or mixed modes, with databases held on disk or in memory. H2 supports standard SQL and JDBC; server mode also accepts JDBC or ODBC over TCP/IP. A browser-based Console provides autocomplete. Listed database capabilities include transactions, multi-version concurrency and row-level locking, with JSON data support and high availability listed. Compatibility modes cover IBM DB2, Apache Derby, HSQLDB, MS SQL Server, MySQL, Oracle and PostgreSQL. Database files can use AES-128 encryption, while remote JDBC connections can use TLS. H2 is available for Linux, macOS and Windows, as an API, and for self-hosted or web deployment. It is dual licensed under MPL 2.0 or EPL 1.0, allowing integration into and distribution with commercial applications. The JAR is described as around 2.5 MB. The plan costs nothing.
RxDB
RxDB is a NoSQL database for JavaScript that runs inside an application and keeps data locally on the client. It supports offline operation, including applications that run entirely without a backend. When synchronization is needed, its Sync Engine connects to backends including RxServer, GraphQL, Firebase, Supabase, MongoDB, NATS, HTTP, CouchDB, WebRTC, Appwrite, Google Drive, and Microsoft OneDrive. Observable queries update as stored data changes. RxDB runs in browsers, mobile apps, desktop applications, and servers, with storage options including LocalStorage, IndexedDB, OPFS, SQLite, Node.js Filesystem, Expo Filesystem, MongoDB, and FoundationDB, among others. Collections use JSON Schema with validation and migration support. An encryption plugin protects locally stored documents with a password in browsers, React Native, and Node.js. The free tier is under Apache 2.0 and allows up to 13 open collections in parallel. Free users get community support through GitHub and Discord; Enterprise includes an SLA with a 24-hour first response. Pro costs $99 a month billed annually, and Pro Plus costs $239 a month billed annually.