Welcome to the official Badger documentation.
BadgerDB is an embeddable, persistent and fast key-value (KV) database written in pure Go. It is the underlying database for Dgraph, a fast, distributed graph database. It’s meant to be a performant alternative to non-Go-based key-value stores like RocksDB.
Table of Contents
A single page quickstart guide to get started with BadgerDB
Additional resources and information
Design goals behind BadgerDB
A list of known projects that use BadgerDB
Frequently asked questions
Embeddable, persistent and fast key-value database that powers Dgraph
The Changelog is kept fairly up-to-date.
- Badger v1.0 was released in Nov 2017, and the latest version that is data-compatible with v1.0 is v1.6.0.
- Badger v2.0 was released in Nov 2019 with a new storage format which won’t be compatible with all of the v1.x. Badger v2.0 supports compression, encryption and uses a cache to speed up lookup.
For more details on our version naming schema please read Choosing a version.
Badger is made better every day by the growing community and the contributors all over the world.