Is there a lightweight, stable and embedded database library?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pocketbase

    Open Source realtime backend in 1 file

  • go-sqlite

    pure-Go SQLite driver for Go (SQLite embedded) (by glebarez)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nutsdb

    Discontinued A simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set. [Moved to: https://github.com/nutsdb/nutsdb] (by xujiajun)

  • Maybe worth looking at nutsdb? https://github.com/xujiajun/nutsdb

  • LevelDB

    LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

  • leveldb?

  • pebble

    RocksDB/LevelDB inspired key-value database in Go

  • https://github.com/cockroachdb/pebble ?

  • sqlite

  • SQLite can be embedded just fine. There is a Go port that is almost as performant as the mattn cgo driver - https://gitlab.com/cznic/sqlite.

  • RocksDB

    A library that provides an embeddable, persistent key-value store for fast storage.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts