Go Database

Open-source Go projects categorized as Database

Top 23 Go Database Projects

  1. prometheus

    The Prometheus monitoring system and time series database.

    Project mention: Rate Limiting in Spring Boot REST APIs: Bucket4j + Redis | dev.to | 2026-06-04

    To monitor and analyze rate limiting metrics, we're using a combination of Redis and Prometheus. We're storing rate limiting metrics in Redis and then using Prometheus to scrape the metrics and display them in a dashboard. Here's an example of how we're storing rate limiting metrics in Redis:

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. etcd

    Distributed reliable key-value store for the most critical data of a distributed system

    Project mention: Global Distributed Consensus: The Missing Piece in Kubernetes | dev.to | 2026-05-04

    Kubernetes runs on etcd, which uses the Raft consensus algorithm. It's a proven model for what it was designed to do: keep a single cluster's state perfectly consistent. When you create a deployment or a pod dies, every node in the cluster agrees on the new state of the world almost instantly.

  4. Milvus

    Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

    Project mention: The AI stack every developer will depend on in 2026 | dev.to | 2026-05-19

    Milvus: Optimized for large-scale, distributed memory operations

  5. tidb

    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.

    Project mention: Go vet can't go: How PVS-Studio analyzes Go projects | dev.to | 2026-02-11

    A similar issue was also found in Tidb:

  6. cockroach

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

    Project mention: Ask HN: What is the most modular sync engine? | news.ycombinator.com | 2025-12-25
  7. dolt

    Dolt – Git for Data

    Project mention: Multi-Agent Development Workflows with Claude Code | dev.to | 2026-05-19

    I'm using Beads for this. It stores data locally via Dolt, gives agents programmatic access, and handles dependencies between tasks. The key commands:

  8. jaeger

    CNCF Jaeger, a Distributed Tracing Platform

    Project mention: Scaling Shopify Webhooks to Handle Millions of Events: A Practical Guide | dev.to | 2026-06-04

    Distributed Tracing with Jaeger

  9. dgraph

    high-performance graph database for real-time use cases

  10. vitess

    Vitess is a database clustering system for horizontal scaling of MySQL.

    Project mention: Zero downtime migrations at Petabyte scale | news.ycombinator.com | 2026-02-19

    It's open source. If you really want to know these things, I would encourage you to look at the code and read the documentation. As noted in the blog post, reverse vreplication is setup when you switch. You can switch back and forth and nothing is lost.

    https://github.com/vitessio/vitess

    https://vitess.io/docs/reference/vreplication/

    "isn't this just pushing the same issue forward in time?" I don't understand what you are trying to say here. You can only compare the two sides / databases at the same logical point in time. While you are doing this comparison at that point in time, the timeline continues to progress. Unless you want to stop the world and prevent writes for the full duration of the diff (which can be days or even weeks).

  11. migrate

    Database migrations. CLI and Golang library.

    Project mention: Zero Downtime Database Migrations: A Practical Guide for PostgreSQL | dev.to | 2026-05-01
  12. sqlc

    Generate type-safe code from SQL

    Project mention: Go vs Rust: the only backend language debate that actually matters in 2026 | dev.to | 2026-05-14

    The broader ecosystem is settled too. Gin and Chi for HTTP routing, sqlc for type-safe queries, Wire for dependency injection if that’s your thing. The compiler errors are readable. Onboarding a new engineer onto a Go codebase takes days, not weeks.

  13. rqlite

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

    Project mention: Show HN: rqlite – the fault-tolerant DB built on SQLite – v10.0 released | news.ycombinator.com | 2026-04-27

    https://rqlite.io

    Major new release which improves clustering robustness, especially when dealing with slow Followers. New features include a built in web-based console (at localhost:4001/console) and comprehensive use of CRC32 for even strong data integrity guarantees. Lots of other bug fixes and improvements under the covers.

    Full list of changes at at https://github.com/rqlite/rqlite/blob/master/CHANGELOG.md

  14. TinyGo

    Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.

    Project mention: Show HN: Write your BPF programs in Go, not C | news.ycombinator.com | 2026-05-21

    > gc, the Go compiler, has no LLVM-based BPF backend. Adding one is a multi-year compiler project. rustc is built on LLVM and that's why Aya works. So gobee emits C and reuses clang's BPF backend, which gives us mature codegen, BTF, and CO-RE relocations for free.

    I wonder if TinyGo (https://tinygo.org/) might be a better fit here:

    > TinyGo brings the Go programming language to embedded systems and to the modern web by creating a new compiler based on LLVM.

    I've not played with TinyGo much so would be interested to hear other peoples experiences.

  15. VictoriaMetrics

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

    Project mention: VictoriaMetrics VS arc - a user suggested alternative | libhunt.com/r/VictoriaMetrics | 2026-04-26
  16. badger

    Fast key-value DB in Go.

  17. go-sql-driver/mysql

    Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)

  18. bytebase

    World's most advanced database DevSecOps solution for Developer, Security, DBA and Platform Engineering teams. The GitHub/GitLab for database DevSecOps.

  19. mcp-toolbox

    MCP Toolbox for Databases is an open source MCP server for databases.

    Project mention: 这个 GitHub 近万星的项目,可能是 AI Agent 开发者最被低估的工具 | dev.to | 2026-05-15

    数据来源:googleapis/mcp-toolbox — 15,240 ⭐,executeautomation/mcp-playwright — 5,514 ⭐

  20. groupcache

    groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

    Project mention: The Evolution of Caching Libraries in Go and Ristretto's zero hit rate mystery | news.ycombinator.com | 2025-07-02
  21. Encore

    Automate infrastructure from local to your cloud

    Project mention: Ask HN: What are you building that's not AI related? | news.ycombinator.com | 2026-04-09

    Very cool! Have you seen https://encore.dev/ ? Haven't used it personally but I saw it on HN last year and have been meaning to try it out.

    Seems like your approach is a bit more "batteries-included" but I'd curious for your thoughts on the differences.

  22. FerretDB

    A truly Open Source MongoDB alternative

  23. goose

    A database migration tool. Supports SQL migrations and Go functions. (by pressly)

    Project mention: Go full stack web app tutorial with sqlc and htmx. Part 1 | dev.to | 2025-11-25

    Goose – Database migrations.

  24. go-clean-arch

    Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Database discussion

Log in or Post with

Go Database related posts

  • Rate Limiting in Spring Boot REST APIs: Bucket4j + Redis

    2 projects | dev.to | 4 Jun 2026
  • Jaeger Tracing Explained: How Distributed Tracing Works

    1 project | dev.to | 2 Jun 2026
  • Chronos vs Toto: Zero-Shot Forecasting Benchmark Results

    2 projects | dev.to | 26 May 2026
  • LynxDB - I wanted Splunk's query language without Splunk

    1 project | dev.to | 26 May 2026
  • I'm not an ML engineer. I built one anyway.

    4 projects | dev.to | 25 May 2026
  • mkdev: trusted HTTPS for localhost, mapped by name

    3 projects | dev.to | 24 May 2026
  • Why Your Logs Are Useless Without Traces

    3 projects | dev.to | 22 May 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Database projects in Go? This list will help you:

# Project Stars
1 prometheus 64,324
2 etcd 51,775
3 Milvus 44,649
4 tidb 40,138
5 cockroach 32,187
6 dolt 23,197
7 jaeger 22,856
8 dgraph 21,683
9 vitess 21,003
10 migrate 18,568
11 sqlc 17,832
12 rqlite 17,563
13 TinyGo 17,489
14 VictoriaMetrics 17,104
15 badger 15,645
16 go-sql-driver/mysql 15,244
17 bytebase 14,116
18 mcp-toolbox 14,073
19 groupcache 13,332
20 Encore 12,000
21 FerretDB 10,963
22 goose 10,832
23 go-clean-arch 10,071

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Go is
the 4th most popular programming language
based on number of references?