# Mithril-mine/libmdbx

Fastfull embedded transactional key-value storage engine ★ Surpasses the legendary LMDB in reliability, capabilities and performance ★ Used in hundreds of open source projects, including Ethereum.

Repository: https://github.com/Mithril-mine/libmdbx
Canonical: https://ross.abutalabs.com/products/libmdbx
Homepage: https://libmdbx.dqdkfa.ru
Language: C
License: Apache-2.0
License Family: permissive
Topics: nosql, storage-engine, performance, lmdb, mdbx, mvcc, key-value, transaction, embedded-database
Last push: 2026-08-18T11:26:16+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 84, longevity 100
- inputs: {"age_days": 3979, "days_push": 15, "days_rel": 24, "gap_med": 39, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1451, forks 151 (observed 2026-08-28T04:04:45.961534+00:00)

## What it is
libmdbx is an extremely fast, compact, embedded transactional key-value storage engine with ACID transactions, MVCC, and memory-mapped B+tree storage. It is a deeply revised descendant of LMDB that surpasses it in reliability, capabilities, and performance, and is used in hundreds of open-source projects including Ethereum clients.

## Use cases
- embed a fast transactional key-value database in my application
- replace LMDB with a more reliable and performant storage engine
- store blockchain node data with ACID guarantees
- share a database between multiple multi-threaded processes without a server
- get crash-safe local storage without WAL maintenance
- build a lightweight embedded database with minimal overhead
- run wait-free parallel readers alongside writers

## When to choose
- you need an embedded, serverless key-value store with ACID transactions and MVCC
- read-heavy workloads need wait-free concurrent readers with minimal overhead
- you want no crash recovery or maintenance overhead
- you need cross-platform C/C++ embedding with just a few source files
- you are building blockchain or other high-reliability systems (e.g. Ethereum clients)

## When to avoid
- write-intensive workloads with strict durability requirements, since there is no WAL
- you need a client-server database or network access
- you require SQL or rich query capabilities beyond key-value maps and multimaps
- your stack requires bindings or tooling outside the C/C++ ecosystem without extra work

## Facets
- artifact type: library
- maturity: stable
- function: database, caching
- domain: databases, developer-tools, performance
- platform: windows, cross-platform, cpp, c
- tags: key-value-store, embedded-database, mvcc, btree, lmdb, memory-mapped, acid-transactions, storage-engine, linux, macos, android, ios

## Member repositories
- Mithril-mine/libmdbx (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.961534+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:50.335571+00:00, confidence not recorded.
  - readme: https://github.com/Mithril-mine/libmdbx (fetched 2026-08-28T04:04:45.961534+00:00, sha 5f7f2c8e8ee5)
  - homepage: https://libmdbx.dqdkfa.ru (fetched 2026-08-29T11:45:17.751325+00:00, sha 7ffed6b90eb7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
