Hacker ApprovedDepartments

LMDB

Hacker Approved

Tied for most recommended of 6 key-value stores

Fast, memory-mapped embedded database that people trust for reads and large datasets, and crash-safe with default settings. Critics say writes slow down as databases grow.

Fast, memory-mapped embedded database that people trust for reads and large datasets, and crash-safe with default settings. Critics say writes slow down as databases grow.

29 people gave an opinion

recommend it
20
criticize it
9
approval share
69%
Each figure is one person. RecommendsCriticizes

Recommended in 9 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 20 people recommend itNeeds 10 or more, met.
  • 2.2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 9 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Fast reads, memory-efficient

    “Because it's so efficient, it can retain more useful data in-memory than other DBs for a given RAM size.”

    Comment from 1 Dec 2025 in “Ask HN: Scheduling stateful nodes when MMAP makes memory accounting a lie”

    “if the object mapping fits in memory that should be pretty optimal for reading”

    Comment from 3 Dec 2025 in “MinIO is now in maintenance-mode”

    “getting a 22x speedup by replacing SQLite's btree code with LMDB”

    Comment from 7 Jan 2026 in “Databases in 2025: A Year in Review”
  • Crash-safe by default

    “By default, LMDB performs whatever necessary syncs and is 100% crash proof, even in the face of power outages.”

    Comment from 23 Jul 2026 in “Garage S3: LMDB Corruption Post-Mortem”

    “As long as you stick to the safe LMDB options, which are the default options, it's reliable.”

    Comment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “LMDB is already used by OpenLDAP [2][3] and seems pretty bullet-proof.”

    Comment from 13 Feb 2026 in “MinIO repository is no longer maintained”
  • Reliable in production

    “I've used LMDB in production for multi-terabyte databases, and we encountered the long-write time but found a solution.”

    Comment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “LMDB is already used by OpenLDAP [2][3] and seems pretty bullet-proof.”

    Comment from 13 Feb 2026 in “MinIO repository is no longer maintained”

    “LMDB, boltdb/bbolt and sqlite (with mmap) are all rock solid.”

    Comment from 6 Jan 2026 in “Databases in 2025: A Year in Review”
  • Handles databases larger than RAM

    “I've used LMDB in production for multi-terabyte databases, and we encountered the long-write time but found a solution.”

    Comment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “LMDB fully supports multiprocess concurrency as well as DBs multiple orders of magnitude larger than RAM”

    Comment from 27 Nov 2025 in “Ask HN: Scheduling stateful nodes when MMAP makes memory accounting a lie”

What people warn about

Each mark is one comment

  • Slow writes on large databases

    “once the db reached several hundred gb, writes would hang for longer and longer periods of time”

    Comment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “It is really reliable except write performance in my experience.”

    Comment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “lightning fast on reads but quite bad on writes”

    Comment from 23 Jan 2026 in “EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API”
  • Unrecoverable after a crash

    “but then the whole database can be unrecoverable in case of crash. It has happened to me.”

    Comment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “a default database that isn't robust against power failure or crashes seems suprising to me”

    Comment from 19 Dec 2025 in “Garage – An S3 object store so reliable you can run it outside datacenters”
  • Hard to use from documentation

    “I find this almost totally unusable. I often find myself reading the source instead.”

    Comment from 14 Nov 2025 in “Rust in Android: move fast and fix things”

    “From this documentation I don't know how to use lmdb to make a correct program.”

    Comment from 17 Nov 2025 in “Rust in Android: move fast and fix things”

    “I find this almost totally unusable”

    Comment from 16 Nov 2025 in “Rust in Android: move fast and fix things”
  • Unusable for many use cases

    “I think lmdb is mostly unusable, for many use cases.”

    Comment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

    “Don't use LMDB for anything that matters.”

    Comment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

Other key-value stores people recommend

The four most recommended other key-value stores, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

LMDB compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
LMDBThis page20969%9—Approved
RocksDB20483%8—Approved
Cloudflare KV91243%8——
etcd92328%4——
LevelDB5550%3——
See all 6 key-value stores, ranked

What people said

36 of the 40 comments that mention it, newest first. Each links to the original comment.

“By default, LMDB performs whatever necessary syncs and is 100% crash proof, even in the face of power outages.”

RecommendsComment from 23 Jul 2026 in “Garage S3: LMDB Corruption Post-Mortem”

“Dropping the explicit P_DIRTY flag in 1.0 is a neat change.”

RecommendsComment from 5 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“Next step is go down one more level to ditch SQL and learn LMDB and/or RocksDB.”

RecommendsComment from 4 Jul 2026 in “What ORMs have taught me: just learn SQL (2014)”

“no fine tuning is needed. The internal paths to every hot page automatically take priority”

RecommendsComment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“but then the whole database can be unrecoverable in case of crash. It has happened to me.”

MixedComment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“pointed out CVEs in LMDB attributed to his own bare hands”

CriticizesComment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“I think lmdb is mostly unusable, for many use cases.”

CriticizesComment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“That it keeps an infinite cache of malloc page allocations is annoying”

CriticizesComment from 3 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“I've used LMDB in production for multi-terabyte databases, and we encountered the long-write time but found a solution.”

RecommendsComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“It has worked well for me as a way to read mutable (by any client) parameters during synthesis”

RecommendsComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“LMDB does the work once and all users benefit.”

RecommendsComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“Don't use LMDB for anything that matters.”

CriticizesComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“As long as you stick to the safe LMDB options, which are the default options, it's reliable.”

RecommendsComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“once the db reached several hundred gb, writes would hang for longer and longer periods of time”

MixedComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“It is really reliable except write performance in my experience.”

MixedComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“pushing return values 4k above the stack, with a comment like”

CriticizesComment from 2 Jul 2026 in “Lightning Memory-Mapped Database Manager (LMDB) 1.0”

“your code exists on BILLIONS of machines”

RecommendsComment from 5 May 2026 in “How Monero's proof of work works”

“why not take it further and use LMDB?”

RecommendsComment from 1 Mar 2026 in “Why does C have the best file API”

“LMDB is already used by OpenLDAP [2][3] and seems pretty bullet-proof.”

RecommendsComment from 13 Feb 2026 in “MinIO repository is no longer maintained”

“inspired by LMDB's blazing fast memory-mapped CoW approach”

RecommendsComment from 2 Feb 2026 in “Efficient String Compression for Modern Database Systems”

“lightning fast on reads but quite bad on writes”

MixedComment from 23 Jan 2026 in “EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API”

“It's truly an incredible piece of tech.”

RecommendsComment from 9 Jan 2026 in “Databases in 2025: A Year in Review”

“getting a 22x speedup by replacing SQLite's btree code with LMDB”

RecommendsComment from 7 Jan 2026 in “Databases in 2025: A Year in Review”

“Then OS will do a better job (as seen with LMDB etc)”

RecommendsComment from 7 Jan 2026 in “Databases in 2025: A Year in Review”

“LMDB, boltdb/bbolt and sqlite (with mmap) are all rock solid.”

RecommendsComment from 6 Jan 2026 in “Databases in 2025: A Year in Review”

“Sqlite and LMDB make fantastic use of it.”

RecommendsComment from 6 Jan 2026 in “Databases in 2025: A Year in Review”

“lmdb is a bit further down the list”

CriticizesComment from 24 Dec 2025 in “Garage – An S3 object store so reliable you can run it outside datacenters”

“it gives much better performance”

RecommendsComment from 19 Dec 2025 in “Garage – An S3 object store so reliable you can run it outside datacenters”

“a default database that isn't robust against power failure or crashes seems suprising to me”

CriticizesComment from 19 Dec 2025 in “Garage – An S3 object store so reliable you can run it outside datacenters”

“if the object mapping fits in memory that should be pretty optimal for reading”

RecommendsComment from 3 Dec 2025 in “MinIO is now in maintenance-mode”

“Because it's so efficient, it can retain more useful data in-memory than other DBs for a given RAM size.”

RecommendsComment from 1 Dec 2025 in “Ask HN: Scheduling stateful nodes when MMAP makes memory accounting a lie”

“It will always be far more efficient than any other DB under the same conditions.”

RecommendsComment from 28 Nov 2025 in “Ask HN: Scheduling stateful nodes when MMAP makes memory accounting a lie”

“LMDB fully supports multiprocess concurrency as well as DBs multiple orders of magnitude larger than RAM”

RecommendsComment from 27 Nov 2025 in “Ask HN: Scheduling stateful nodes when MMAP makes memory accounting a lie”

“From this documentation I don't know how to use lmdb to make a correct program.”

CriticizesComment from 17 Nov 2025 in “Rust in Android: move fast and fix things”

“I find this almost totally unusable”

CriticizesComment from 16 Nov 2025 in “Rust in Android: move fast and fix things”

“I find this almost totally unusable. I often find myself reading the source instead.”

CriticizesComment from 14 Nov 2025 in “Rust in Android: move fast and fix things”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.