Hacker ApprovedDepartments

LMDB

Tied for most recommended of 3 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.

17 people recommended LMDB in Hacker News comments, 5 had mixed feelings and 12 criticized it, November 2025 to October 2026.

9 of the 17 people who recommend it commented in one thread, “Lightning Memory-Mapped Database Manager (LMDB) 1.0”.

Summary written by Claude from 36 comments. It was written before the November 2026 recount, and 35 of those comments still count.

34 people gave an opinion

recommend it
17
mixed feelings
5
warn against or regret it
12

The record

Each figure is one person. RecommendsMixed feelingsCriticizes

Recommended in 9 of 12 months

In 12 different threads.

  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

Why it doesn’t carry the badge

  • 17 people recommend itNeeds 10 or more, met.
  • 1.4 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 9 of 12 monthsNeeds 4 or more, met.
  • Recommended in 12 threadsNeeds 5 or more, met.
  • 9 of its 17 recommenders came from one threadNeeds half or less, not met.

The same rules apply to every product, and the badge can’t be bought. Mixed feelings count toward neither side. How the badge works

What people say about it

Reasons grouped from a sample of 40 of the 50 opinions about it, picked in proportion to how many people recommend it, have mixed feelings and criticize it. Each mark is one comment in the sample. 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, boltdb/bbolt and sqlite (with mmap) are all rock solid.”

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

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

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

    “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”
  • 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 two 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 2 alternatives
ProductRecommendMixedCriticizeApprovalMonthsHad forBadge
LMDBThis page1751259%9——
RocksDB173385%8—Approved
Cloudflare KV801240%7——
See all 3 key-value stores, ranked

What people said

40 of the 50 opinions about it, picked in proportion to the three counts, 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)”

“LMDB's hot paths fit entirely inside a CPU's L1 cache.”

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

“LMDB is fast despite being hobbled by vanilla kernel mmap.”

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

“an mmap() based page caching system will not do”

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

“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”

“Being able to do it in parallel is necessary, especially when you have billions of entries to operate on.”

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

“The main issues were related to write speed but we do a compaction of the database”

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”

“this latest (1.0) and the previous 0.9.x are mutually incompatible, requiring essentially a dump/restore”

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”

“we are getting inconsistent signals on how seriously they understand and implement security concerns”

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”

“iOS doesn't page dirty mmaped pages back to disk and after enough churn the app will OOM”

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

“It has been used successfully as the backend for OpenLDAP and Monero”

RecommendsComment 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”

“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”

“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”

“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. 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,791,911 Hacker News comments labeled by Claude, November 2025 to October 2026, with data through October 31, 2026. Counts updated 3 Nov 2026. How we count. Report a mistake.