Run the example in the Go Playground →
A fast in-memory database for Go. A drop-in replacement for hashicorp/go-memdb, with the same package name and API. Its one dependency is its storage engine, go-juuri, which has none.
- Atomic transactions and snapshot isolation.
- Secondary indexes, range queries and watch channels.
- Typed queries and bitmap indexes for set operations.
Requires Go 1.23 or later.
go get github.com/thevilledev/go-maemmidbimport memdb "github.com/thevilledev/go-maemmidb"Coming from go-memdb? Change the import path and review the compatibility notes.
Getting started · API reference · Guides
See benchmarks and downstream results for performance comparisons with go-memdb.
MPL-2.0. Derived from go-memdb; see NOTICE for attribution. An independent project, unaffiliated with HashiCorp or IBM.
Named after mämmi, a Finnish delicacy.