Categories

Database

Repos

420

Stars

760,453

30 days

+4,436

Databases Implemented in Go

pingcap

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Created Sep 2015

agent agent-context agent-memory agentic ai
Total 40,792
30 days +142
cockroachdb

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Created Feb 2014

cockroachdb database distributed-database go hacktoberfest
Total 32,665
30 days +98
dolthub

Dolt – Git for Data

Created Jul 2019

agent-memory agent-memory-server ai-agents ai-database data-version-control
Total 24,969
30 days +284
dgraph-io

high-performance graph database for real-time use cases

Created Aug 2015

database distributed go knowledge-graph
Total 21,859
30 days +45
VictoriaMetrics

VictoriaMetrics: fast, cost-effective monitoring solution and time series database

Created Sep 2018

database grafana graphite influxdb kubernetes
Total 18,162
30 days +275
rqlite

The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.

Created Aug 2014

consensus database distributed-database distributed-systems fault-tolerance
Total 17,977
30 days +169
dgraph-io

Fast key-value DB in Go.

Created Jan 2017

database document-database go golang key-value
Total 15,823
30 days +34
codenotary

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history

Created Nov 2019

auditable compliance cryptographic database gdpr
Total 9,062
30 days +17
syndtr

LevelDB key/value database in Go.

Created Jan 2013

database go leveldb
Total 6,321
30 days +6
tidwall

BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support

Created Jul 2016

database geospatial golang in-memory key-value
Total 4,872
30 days +6
nalgeon

Redis re-implemented with SQL

Created Apr 2024

database key-value postgres redis sqlite
Total 4,575
30 days +9
lindb

LinDB is a scalable, high performance, high availability distributed time series database.

Created Jun 2019

cross-datacenter-native database distributed-database go high-performance
Total 3,067
30 days +2
HouzuoGuo

A rudimentary implementation of a basic document (NoSQL) database in Go

Created May 2013

database db document-database go golang
Total 2,724
30 days +0
objectbox

Embedded Go Database, the fast alternative to SQLite, gorm, etc.

Created Nov 2018

database edge embedded go golang
Total 1,275
30 days +2
krotik

EliasDB a graph-based database.

Created Aug 2016

cluster clustering database embedded golang
Total 1,037
30 days +0
orneryd

Nornicdb is a distributed low-latency, Graph+Vector, Temporal MVCC with all sub-ms HNSW search, graph traversal, and writes. Using Neo4j Bolt/Cypher and qdrant's gRPC means you can switch with no changes while adding intelligent features like schemas, managed embeddings, reranking+llm, GPU accel, Auto-TLP, Policy-based Memory Decay, and MCP server.

Created Dec 2025

bolt cypher database enterprise-solutions golang
Total 932
30 days +23
glebarez

pure-Go SQLite driver for Go (SQLite embedded)

Created Dec 2021

database driver go golang sqlite
Total 888
30 days +4
ostafen

A lightweight document-oriented NoSQL database written in pure Golang.

Created Jan 2022

badger boltdb database document-oriented-database embedded-database
Total 837
30 days +4
lynxbase

A lightweight schema-on-read analytics in a single binary

Created Mar 2026

analytics database devops golang logging
Total 285
30 days +1
fern4lvarez

Lightweight RESTful database engine based on stack data structures

Created Sep 2015

database go linux macos rest-api
Total 206
30 days +0
amit-davidson

LibraDB is a simple, persistent key/value store written in pure Go in less than 1000 lines for learning purposes.

Created Aug 2021

data-structures database go golang
Total 202
30 days +0
unit-io

Time-series database and pub/sub messaging server for IoT and real-time devices, in Go: an embeddable storage engine with TTLs, wildcard topics and encryption, and a clustered server over gRPC, TCP and WebSocket with replication and rolling upgrades.

Created Aug 2019

database distributed-database embedded-database go golang
Total 125
30 days +0
RichardKnop

Embedded single file SQL database written in Golang

Created Sep 2024

agentic-ai agentic-workflow database embedded-database golang
Total 57
30 days +7

Database Schema Migration

golang-migrate

Database migrations. CLI and Golang library.

Created Jan 2018

aws-s3 cassandra database databases go
Total 19,055
30 days +87
pressly

A database migration tool. Supports SQL migrations and Go functions.

Created Feb 2016

database database-migrations go golang migration
Total 11,729
30 days +133
amacneil

🚀 A lightweight, framework-agnostic database migration tool.

Created Nov 2015

clickhouse cpp database database-migrations database-schema
Total 7,563
30 days +92
gobuffalo

A Tasty Treat For All Your Database Needs

Created Feb 2018

cockroachdb database gobuffalo migrations mysql
Total 1,528
30 days +3
go-gormigrate

Minimalistic database migration helper for Gorm ORM

Created Aug 2016

database db go gorm migrations
Total 1,177
30 days +1
GuiaBolso

Database schema evolution library for Go

Created Apr 2016

database go golang migration
Total 151
30 days +1

Database Tools

prest

Instant REST and MCP APIs for PostgreSQL and MySQL, on existing or new databases. CRUD, custom SQL routes, auth and ACL without writing a backend. Low-code, ⚡ realtime, high-performance. Native MySQL support since v2.5

Created Nov 2016

api baas backend crud database
Total 4,639
30 days +16
cybertec-postgresql

pg_timetable: Advanced scheduling for PostgreSQL

Created Dec 2018

chains cron database docker-image interval
Total 1,408
30 days +4
gatewayd-io

database gateway for building data-driven applications

Created Jul 2022

cloud-native connection-pool data-driven database event-based
Total 290
30 days +1
pgrwl

Cloud-native continuous backup for PostgreSQL - WAL/base-backup streaming, compression, encryption, retention, and monitoring in a single binary.

Created May 2025

archiving aws aws-s3 backup backup-tool
Total 185
30 days +4
sj14

🏋️ dbbench is a simple database benchmarking tool which supports several databases and own scripts

Created Nov 2018

benchmark cassandra cockroachdb database golang
Total 118
30 days +0

SQL Query Builders

go-jet

Type safe SQL builder with code generation and automatic query result data mapping

Created Mar 2019

cockroachdb code-completion code-generator codegenerator database
Total 3,837
30 days +16
doug-martin

SQL builder and query library for golang

Created Feb 2015

database go golang mysql postgres
Total 2,679
30 days +5
go-ozzo

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities.

Created Dec 2015

database go golang ozzo
Total 675
30 days +2
lqs

💥 A lightweight DSL & ORM which helps you to write SQL in Go.

Created Nov 2018

database go golang mysql orm
Total 456
30 days +1
rocketlaunchr

Zero boilerplate database operations for Go

Created Jul 2019

database go golang mysql postgres
Total 418
30 days +1

More

FerretDB

A truly Open Source MongoDB alternative

Created Oct 2021

database document ferretdb go golang
Total 11,130
30 days +33
XiaoMi

SQL Optimizer And Rewriter

Created Oct 2018

advisor auditor command-line database indexing
Total 8,755
30 days +10
rosedblabs

Lightweight, fast and reliable key/value storage engine based on Bitcask.

Created Dec 2020

data-structures database embedded go golang
Total 4,890
30 days +8
nutsdb

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.

Created Dec 2018

data-structures database go golang key-value
Total 3,589
30 days +5
uber

A GPU-powered real-time analytics storage and query engine.

Created Sep 2018

analytics cgo cuda data database
Total 3,081
30 days +2
maxpert

A distributed SQLite server with MySQL wire compatible interface

Created Aug 2022

database distributed mysql replication sqlite3
Total 2,832
30 days +8
postgres-ai

DBLab enables 🖖 database branching and ⚡️ thin cloning for any Postgres database and empowers DB testing in CI/CD. This optimizes database-related costs while improving time-to-market and software quality. Follow to stay updated.

Created Jun 2020

ai-agents branching ci ci-cd cicd
Total 2,811
30 days +35
dolthub

A MySQL-compatible relational database with a storage agnostic query engine. Implemented in Go.

Created Jun 2019

database mysql mysql-server query-engine relational-database
Total 2,667
30 days +9
lotusdblabs

Most advanced key-value database written in Go, extremely fast, compatible with LSM tree and B+ tree.

Created Dec 2021

bptree database golang kv-store lsm-tree
Total 2,261
30 days +4
zuoyebang

Bitalostored is a high-performance distributed storage system, core engine based on bitalosdb(self-developed), compatible with Redis protocol.

Created Feb 2024

bitalosdb database distributed-storage high-performance kvstore
Total 2,170
30 days +0
matrixorigin

AI-native HTAP database with Git-for-Data and built-in vector search, serving as the data and memory backbone for intelligent agents and applications.

Created Feb 2021

agents ai-native cloud-native database distributed-database
Total 2,070
30 days +14
radondb

RadonDB is an open source, cloud-native MySQL database for building global, scalable cloud services

Created Jan 2018

cloud-native-database database distributed-database distributed-transaction full-text-search
Total 1,795
30 days +0
chaisql

Modern embedded SQL database

Created Jun 2018

database embedded-database go golang sql
Total 1,709
30 days +3
polarsignals

❄️ Coolest database around 🧊 Embeddable column database written in Go.

Created Mar 2022

apache-arrow apache-parquet columnar-storage database golang
Total 1,554
30 days +5
yongman

Distributed transactional NoSQL database, Redis protocol compatible using tikv as backend

Created Apr 2018

2pc database distributed-nosql-database nosql raft
Total 1,444
30 days +1
nakabonne

An embedded time-series database

Created May 2021

database golang golang-library metrics time-series
Total 1,258
30 days +5
alash3al

a very simple pure key => value storage system that speaks Redis protocol with Postgres as storage engine and more

Created Dec 2018

badgerdb boltdb database go golang
Total 1,224
30 days +1
ByteStorage

The high-performance kv storage engine based on bitcask paper made in golang

Created Apr 2023

database flydb go golang key-value
Total 1,221
30 days +1
IceFireDB

@IceFireLabs -> IceFireDB is a database built for web3.0 It strives to fill the gap between web2 and web3.0 with a friendly database experience, making web3 application data storage more convenient, and making it easier for web2 applications to achieve decentralization and data immutability.

Created Mar 2021

blockchain cloudnative crdt database distributed-database
Total 1,158
30 days +1
oleiade

File based encrypted key-value store

Created Aug 2013

database encryption store
Total 953
30 days +0
sourcenetwork

DefraDB is a Peer-to-Peer Edge-First Database. It's the core data storage system for the Source Ecosystem.

Created Jun 2019

crdt database distributed documentdb edge-ai
Total 899
30 days +2
jakekgrog

GhostDB is a distributed, in-memory, general purpose key-value data store that delivers microsecond performance at any scale.

Created May 2020

cache database datastore distributed-database golang
Total 753
30 days +1
Sahilb315

An persistent relational database built in Go.

Created Nov 2024

btree database golang
Total 708
30 days +2
Basekick-Labs

Open, SQL-native time-series database for telemetry you need to keep. 38M+ records/sec ingestion, 25M+ rows/sec queries. InfluxDB Line Protocol and Telegraf compatible. Open Parquet on your storage. Single binary. S3/Azure native. Air-gap ready. AGPL-3.0.

Created Oct 2025

ai analytical-database analytics columnar-database data-warehouse
Total 698
30 days +12
apecloud

Unified MySQL, Postgres & FlightSQL Server, Powered by DuckDB.

Created Aug 2024

analytics arrow business-analytics business-intelligence columnar-storage
Total 595
30 days +2
EchoVault

Embeddable and distributed in-memory alternative to Redis.

Created Jul 2023

cache client-server cluster consistent database
Total 541
30 days +2
wundergraph

Serverless GraphQL Database built on top of Firecracker, SQLite and Prisma

Created Sep 2022

database db firecracker firecracker-containerd firecracker-microvms
Total 529
30 days +1
joncrlsn

Compares the PostgreSQL schema between two databases and generates SQL statements that can be run manually against the second database to make their schemas match.

Created Sep 2014

database diff diffing go postgresql-database
Total 508
30 days +0
256dpi

A MongoDB compatible embeddable database and toolkit for Go.

Created Oct 2019

bson database go golang mongo
Total 491
30 days +1
litebase

Open source distributed database built on SQLite and backed by distributed file systems and object storage

Created Oct 2022

database db distributed-database relational-databases sql
Total 450
30 days +3
ankur-anand

A streaming multimodal database for Edge AI, and Edge Computing.

Created Feb 2025

ai-agents database edge-computing go golang
Total 429
30 days +2
tomarrell

LBADD: An experimental, distributed SQL database

Created Dec 2019

database distributed golang hacktoberfest sql
Total 390
30 days +1
arriqaaq

FlashDB is an embeddable, in-memory key/value database in Go (with Redis like commands and super easy to read)

Created Mar 2022

database embedded flashdb go golang
Total 379
30 days +1
thomasjungblut

Go library for protobuf compatible sstables, a skiplist, a recordio format and other database building blocks like a write-ahead log. Ships now with an embedded key-value store.

Created Mar 2018

compaction database embedded-database hacktoberfest kaitai
Total 369
30 days +0
nubskr

key value cache built from first principles

Created Sep 2024

caching database go golang nosql
Total 357
30 days +1
timakin

DB replication tool to synchronize data with multi environments written in Golang.

Created Sep 2016

database golang mysql replication toml
Total 346
30 days +0
graphikDB

Graphik is a Backend as a Service implemented as an identity-aware document & graph database with support for gRPC and graphQL

Created Aug 2020

cel database go golang graph-database
Total 323
30 days +1
go-pg

SQL database migrations for Golang go-pg and PostgreSQL

Created Sep 2015

dat database go golang postgresql
Total 306
30 days +0
rosedblabs

Write Ahead Log for LSM or bitcask storage(or any append-only write).

Created May 2023

bitcask database kv-store lsm-tree storage
Total 287
30 days +0
replicase

A scalable Netflix DBLog implementation for PostgreSQL

Created Feb 2021

backup cdc change-data-capture database dblog
Total 286
30 days +1
auula

UrnaDB is a NoSQL database support diverse data types and transactions.

Created Jan 2022

bitcask database document json kv
Total 280
30 days +0
gogitdb

Distributed Embeddable Database

Created May 2020

database document-database embedded git gitdb
Total 260
30 days +1
sdomino

A tiny Golang JSON database

Created May 2015

database go golang json
Total 260
30 days +0
wildcatdb

Open-source bLSM-like storage engine for highly concurrent, transactional key-value storage.

Created May 2025

blsm clib concurrent database embedded
Total 252
30 days +0
talariadb

TalariaDB is a distributed, highly available, and low latency time-series database for Presto

Created Apr 2020

big-data column-store database prestodb real-time
Total 231
30 days +0
zippoxer

Bow - Minimal embedded database powered by Badger

Created May 2018

badger database embedded-database go golang
Total 224
30 days +0
voidDB

A transactional key-value database written in Go for Linux and macOS

Created Oct 2024

acid database fast go golang
Total 204
30 days +1
sjy-dv

Coltt is a vector database that supports Multi-Vector Search, high-performance HNSW, FLAT and quantization, and enables fast searches through sophisticated internal data shard design.

Created Oct 2024

bitmap cosine-similarity database distributed-database distributed-systems
Total 182
30 days +0
romanyx

The easiest solution to seed database with Go

Created Jun 2018

database golang mysql postgres redis
Total 177
30 days +0
zuoyebang

Bitalosdb is a high-performance KV storage engine.

Created Feb 2024

database distributed-storage high-performance io-architecture kvstore
Total 168
30 days +0
starskey-io

Package for fast persistent, transactional, and embedded key-value storage. LevelDB-WiscKey inspired.

Created Jan 2025

database key-value-store lsm-tree oltp storage-engine
Total 162
30 days +0
naqvijafar91

A slick BTree on disk based key value store implemented in pure Go

Created Jan 2019

database embedded-database go golang key-value
Total 150
30 days +0
rocketlaunchr

Cache Slow Database Queries

Created Apr 2019

cache database go golang memoisation
Total 144
30 days +1
yemingfeng

SDB :纯 Go 开发、数据结构丰富、持久化、简单易用的 NoSQL 数据库

Created Dec 2021

database distributed go golang grpc
Total 136
30 days +0
outcaste-io

Fast Key-Value DB in Go

Created Jan 2022

database go golang key-value library
Total 135
30 days +0
tbhb

A globally-distributed, eventually-consistent, 100% available key-value store ;)

Created Oct 2019

aws database dns
Total 129
30 days +0
zuoyebang

Bitalostable is a KV storage engine. It is used to store bitalostored cold data.

Created Feb 2024

database kvstore nosql storage-engine
Total 118
30 days +0
PolygonDB

PolygonDB is an alternative to MongoDB that provides a developer-friendly experience and less resources hungry.

Created Jan 2023

database datascience go
Total 112
30 days +0
mstrYoda

A graph database provides Cypher query, fluent builder and management UI implemented in Golang.

Created Feb 2026

database golang graph graph-db nosql
Total 109
30 days +1
anyproto

Document-oriented embedded database for Go: MongoDB-like queries, indexes, full-text and vector search, ACID transactions, multi-process access. Pure Go, no CGO.

Created Dec 2023

btree database document-database embedded-database full-text-search
Total 101
30 days +3
robaho

high performance key value database written in Go. Deprecated. Use robaho/leveldb

Created Aug 2018

database golang key-value keydb lsm
Total 88
30 days +0
fj1981

AI-Native, Offline-First Database Workbench — Import/Export/Migrate/Compare/Snapshot with AI-Assisted SQL (Eino)

Created Aug 2026

agent ai cli data-dictionary database
Total 87
30 days +0
jackyzha0

💾 a simple, easy, and debuggable document database for prototyping and hackathons

Created Apr 2020

database golang hackathon prototyping
Total 81
30 days +0
ryogrid

Learning-oriented Simple Relational Database Management System in Golang

Created Nov 2022

bustub database dbms diy go
Total 79
30 days +0
johnny-morrice

Peer-to-peer lite database over IPFS

Created Mar 2017

crdt database golang ipfs
Total 76
30 days +0
padurean

Simple, minimal SQL database migrations written in Go. Build your own migration CLI with it. Std lib database/sql and SQLX supported out of the box.

Created Oct 2025

database database-migrate-ext database-migration database-migrations db-migrate
Total 75
30 days +0
fiatjaf

A hierarchical database that stores computed values.

Created Sep 2015

database hierarchical summadb
Total 75
30 days +0
vescale

An embeddable graph database for large-scale vertices and edges

Created Nov 2022

database embeddable graph graph-database pgql
Total 74
30 days +0
db-branch

Instant MySQL database branches on ZFS clones, clustered across VMs with ProxySQL routing

Created Nov 2026

database
Total 73
30 days +73
dolthub

Dumbo - Version Controlled Document Database

Created Mar 2026

database document-database dolt dolthub git
Total 73
30 days +4
Boostport

Simple and pragmatic migrations for Go applications.

Created Oct 2016

database golang migrations
Total 73
30 days +0
leoantony72

High-performance, concurrent embedded caching engine for Go applications with support for Hash data type, Disk Save and TTL

Created Sep 2023

cache concurrency data-structures database go
Total 71
30 days +0
launix-de

A columnar In-Memory Database as Drop-In Replacement for MySQL supporting 10x performance in OLAP workloads and similar performance in OLTP

Created Jan 2023

database golang mysql sql
Total 68
30 days +0
ido50

SQL Query Builder for Go

Created Jun 2017

database go golang query-builder sql
Total 68
30 days +0
asheshvidyut

Sorted Data Structure Server - Treds is a Data Structure Server which returns data in sorted order and is the fastest prefix search server. It also persists data on disk.

Created Sep 2024

ai cache database datastructures datastructures-algorithms
Total 65
30 days +0
HouzuoGuo

This is a programming exercise, do not use in serious code.

Created Nov 2011

database go golang
Total 64
30 days +0
ulfox

Simple Yaml DB

Created Aug 2021

database db go golang yaml
Total 63
30 days +0
ankur-anand

A key-value database for object storage (S3, GCS, Azure Blob), in Go.

Created Dec 2025

ai ai-agents ai-database database edge-data-streaming
Total 60
30 days +9
chenjiandongx

🐸 Grogudb is a KV Database designed for fast write/scan heavy workloads.

Created Apr 2023

database kv kvstore storage
Total 59
30 days +0
prashanthpai

Caching middleware for database/sql

Created Jun 2020

cache database declarative-caching go golang
Total 54
30 days +0
1lann

An easy-to-use, lightweight embedded on-disk database built on Badger for use in your Go programs.

Created Jun 2017

badger database disk embedded-database go
Total 51
30 days +0
boltdb

An embedded key/value database for Go.

Created Dec 2013 Archived

database go key-value
Total 14,641
30 days +9
FeatureBaseDB

A crazy fast analytical database, built on bitmaps. Perfect for ML applications. Learn more at: http://docs.featurebase.com/. Start a Docker instance: https://hub.docker.com/r/featurebasedb/featurebase

Created Aug 2015 Archived

big-data bitmap database go index
Total 2,523
30 days +1
mattes

Database migrations. CLI and Golang library.

Created Aug 2014 Archived

aws-s3 cassandra crate database databases
Total 2,278
30 days +0
tidwall

In-memory NoSQL database with ACID transactions, Raft consensus, and Redis API

Created Oct 2016 Archived

database geospatial in-memory json nosql
Total 1,406
30 days +0
cursusdb

CursusDB is an open-source distributed in-memory yet persisted document oriented database system with real time capabilities.

Created Nov 2023 Archived

database database-system database-systems dbms distributed-database
Total 471
30 days +1
kasvith

A simple in memory cache written using go

Created Jul 2018 Archived

cache cache-storage database flexible from-scratch
Total 351
30 days +0
ariasql

The AriaSQL relational database management system.

Created Feb 2024 Archived

database rdbms relational-database server sql
Total 225
30 days +0
edgelesssys

EdgelessDB is a MySQL-compatible database for confidential computing. It runs entirely inside a secure enclave and comes with advanced features for collaboration, recovery, and access control.

Created Feb 2021 Archived

confidential-computing database enclave mariadb mysql
Total 166
30 days +0
gqcn

[mirror] Go语言开发的基于DRH(Deep-Re-Hash)深度哈希分区算法的高性能高可用Key-Value嵌入式事务数据库。基于纯Go语言实现,具有优异的跨平台性,良好的高可用及文件IO复用设计,高效的底层数据库文件操作性能,支持原子操作、批量操作、事务操作、多表操作、多表事务、随机遍历等特性。

Created Nov 2017 Archived

atomic database embeded go golang
Total 114
30 days +0
db-journey

Journey migration tool

Created Feb 2017 Archived

cli cron database golang migration
Total 103
30 days +0
recoilme

Low-level key/value store in pure Go.

Created Feb 2018 Archived

database embedded engine golang key-value
Total 98
30 days +0
supermassivedb

A distributed in-memory, durable key value database designed for massive amounts of critical data and low latency.

Created Feb 2025 Archived

database distributed durable in-memory keyvalue
Total 81
30 days +0
rosspeoples

Distributed, reliable database and cache library, server, and client. Inspired by Redis.

Created Mar 2017 Archived

cache database distributed-systems etcd go
Total 59
30 days +0
nndi-oss

A simple tool to help administrators restore PostgreSQL databases periodically

Created Jun 2019 Archived

database golang postgresql
Total 52
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.