Skip to content
SPECIFICTION
Get listed

bbolt vs H2 Database Engine

bbolt

github.com

H2 Database Engine

h2database.com

Side by side

FigurebboltH2 Database Engine
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
iOSYes—
AndroidYes—
API—Yes
Self-hostedYesYes
Plans published11
Spec score · Embedded Databases8.4 (#6)8.1 (#9)
Purposebbolt is a maintained fork of Bolt, a pure Go embedded key/value store for applications that do not need a full database server.H2 is a free SQL database written in Java.
Transactionsbbolt supports serializable ACID transactions with one read-write transaction at a time and multiple concurrent read-only transactions.The feature list includes transaction support, multi version concurrency, and row level locking.

Plans

bbolt

  • bboltFree

bbolt pricing →

H2 Database Engine

  • H2 Database EngineFree

H2 Database Engine pricing →

In their own words

bbolt

bbolt is a maintained fork of Bolt, providing Go applications with an embedded key-value store instead of a full database server. It keeps the database in one file, representing a consistent snapshot of its data. Key/value pairs are arranged in buckets, which can be nested, and bucket keys are stored in byte-sorted order. The library supports serializable ACID transactions: one read-write transaction at a time, alongside multiple concurrent read-only transactions.

A read-only transaction can create a consistent hot backup without blocking other database reads and writes. bbolt exposes operation statistics that can be logged or sent to a service such as statsd. The project describes it as a fit for read-intensive workloads and range scans, while warning that random writes can be slow. The database file has an exclusive write lock, so multiple processes cannot share it for writing; read-only mode permits multiple readers. The project documents gomobile bindings for iOS and Android, as well as Windows, macOS and Linux support. It is free under the MIT license, with no paid support plan listed.

Visit github.com

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.

Visit h2database.com