compare
Badger vs Pebble
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Badger | Pebble |
|---|---|---|
| Language | Go | Go |
| Licence | Apache-2.0 | BSD-3-Clause |
| Stars | 16k | 6.1k |
| Latest | v4.9.6 | v2.1.7 |
| Last push | 2026-11-10 | 2026-11-22 |
| Release cadence | about 14 days between releases | about 11 days between releases |
| Active contributors | 3 commit authors on the default branch in the last 90 days | 8 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace RocksDB. Alternatives to RocksDB →
PartialBadgerLSM-tree key-value store written in Go, without cgo.
PartialPebbleLSM key-value store in Go with RocksDB's design and part of its feature set, without cgo.
Badger
- v4.9.62026-08-05fix(compaction): restore size-ratio base level selection, clamped to the first non-empty level
- v4.9.52026-07-23fix: prevent nil deref when reading in-memory tables
- v4.9.42026-07-08fix(db): don't drop acknowledged writes during DropPrefix/DropAll
- v4.9.32026-07-06perf(db): signal-based L0 write backpressure (replace busy-sleeps)
- v4.9.22026-06-09chore(core): remove unused event log
Pebble
- v2.1.72026-08-24Pebble release used in production by CockroachDB 25.3.x, with v2 path.
- v2.0.92026-05-27Pebble release used in production by CockroachDB 24.3.0, with v2 path, plus minor fixes, some updated deps, and go 1.24…
- v2.1.62026-05-27Pebble release used in production by CockroachDB 25.3.0, with v2 path.
- v2.0.82026-05-05Pebble release used in production by CockroachDB 24.3.0, with v2 path, plus minor fixes, some updated deps, and go 1.24…
- v2.1.52026-05-05Pebble release used in production by CockroachDB 25.3.0, with v2 path.
Badger
✓ signed The latest release, v4.9.6, carries a signature GitHub verified.
Loading the security report
Pebble
unsigned The latest release, v2.1.7, carries no signature GitHub could verify.
Loading the security report