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: AIOps, DevOps, MLOps, LLMOps – What’s the Difference? | dev.to | 2025-01-09

    Monitoring tools: Prometheus, Grafana, and custom logging systems for tracking model performance and resource utilization.

  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: I Stopped Using Kubernetes. Our DevOps Team Is Happier Than | news.ycombinator.com | 2024-11-27

    > https://github.com/etcd-io/etcd/issues/9771

    > stale bot marked this as completed (by fucking closing it)

    Ah, yes, what would a Kubernetes-adjacent project be without a fucking stale bot to close issues willy nilly

  4. tidb

    TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.

    Project mention: TiDB – cloud-native, distributed SQL database written in Go | news.ycombinator.com | 2025-01-03

    I do want to clarify a few points, on the project page it does provide the following information:

    > Distributed Transactions: TiDB uses a two-phase commit protocol to ensure ACID compliance, providing strong consistency. Transactions span multiple nodes, and TiDB's distributed nature ensures data correctness even in the presence of network partitions or node failures.

    > …

    > High Availability: Built-in Raft consensus protocol ensures reliability and automated failover. Data is stored in multiple replicas, and transactions are committed only after writing to the majority of replicas, guaranteeing strong consistency and availability, even if some replicas fail. Geographic placement of replicas can be configured for different disaster tolerance levels.

    See https://github.com/pingcap/tidb?tab=readme-ov-file#key-featu...

    Correctness has been a focus for a long time for TiDB, including working on passing Jepsen Tests back in 2019, see https://www.pingcap.com/blog/tidb-passes-jepsen-test-for-sna... and https://jepsen.io/analyses/tidb-2.1.7

    Disclosure: Employee of PingCAP the company behind TiDB

  5. Milvus

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

    Project mention: Show HN: I made a website to semantically search ArXiv papers | news.ycombinator.com | 2024-12-24
  6. cockroach

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

    Project mention: 7 Databases in 7 Weeks for 2025 | news.ycombinator.com | 2024-12-05

    Still very much "open-source": https://github.com/cockroachdb/cockroach

    But relicensed to the "CockroachDB Software License" as a form of BSL to prevent reselling.

  7. jaeger

    CNCF Jaeger, a Distributed Tracing Platform

    Project mention: [Bahasa] Tracer: Open Telemetry, Golang, and Jagger Simple Implementation | dev.to | 2025-01-15
  8. dgraph

    high-performance graph database for real-time use cases

    Project mention: Automatically Generate REST and GraphQL APIs From Your Database | dev.to | 2024-12-19

    Dgraph

  9. vitess

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

    Project mention: A MySQL compatible database engine written in pure Go | news.ycombinator.com | 2024-04-09

    With Vitess likely merging a lot of its binaries into a single unified binary: https://github.com/vitessio/vitess/issues/7471#issuecomment-...

    ... it would be a wild future if Vitess replaced the underlying MySQL engine with this as long as the performance is good enough.

  10. dolt

    Dolt – Git for Data

    Project mention: liquibase alternatives - Logidze and dolt | libhunt.com/r/liquibase | 2024-11-19
  11. rqlite

    The lightweight, user-friendly, distributed relational database built on SQLite.

    Project mention: How rqlite – the lightweight distributed database built on SQLite – is tested | news.ycombinator.com | 2025-01-14

    rqlite has been in development for about a decade too!

    https://github.com/rqlite/rqlite/blob/master/CHANGELOG.md#10...

  12. migrate

    Database migrations. CLI and Golang library.

    Project mention: How to use migrations with Golang | dev.to | 2024-11-06

    Go doesn't support migrations natively for that propuso we can use the popular golang-migrate package also if you use an ORM like GORM you can use it for that.

  13. TinyGo

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

    Project mention: Wasm3 + TinyGo on PSP | dev.to | 2024-12-19

    So, I chose another way. In other words, the approach is to convert it into WASM using TinyGo.

  14. go-sql-driver/mysql

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

    Project mention: HTMX + Go : Build a CRUD App with Golang and HTMX | dev.to | 2024-07-15

    Next, we need to install some dependencies. We already know we are using MySQL as our database, thus, we need to install the MySQL driver for Golang.

  15. badger

    Fast key-value DB in Go.

  16. sqlc

    Generate type-safe code from SQL

    Project mention: Rails for Everything | news.ycombinator.com | 2025-01-01
  17. VictoriaMetrics

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

    Project mention: Building Observability with ClickHouse | news.ycombinator.com | 2024-11-19

    Yup, there is a big room for improvements there! BTW, VictoriaLogs docs are open source too [1], so we'll be more than happy receiving pull requests with improvements for the docs!

    [1] https://github.com/VictoriaMetrics/VictoriaMetrics/tree/mast...

  18. groupcache

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

    Project mention: Show HN: Pocache, preemptive optimistic caching for Go | news.ycombinator.com | 2024-10-11
  19. bytebase

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

    Project mention: Top DevSecOps Tools for 2025 | dev.to | 2025-01-09

    Bytebase is a database DevSecOps platform designed for developers, security, DBA, and platform engineering teams.

  20. go-clean-arch

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

    Project mention: GO — Estrutura de projetos | dev.to | 2024-06-18

    https://dev.to/booscaaa/implementando-clean-architecture-com-golang-4n0a https://github.com/golang-standards/project-layout https://blog.boot.dev/golang/golang-project-structure/ https://github.com/bnkamalesh/goapp https://www.wolfe.id.au/2020/03/10/how-do-i-structure-my-go-project/ https://blog.logrocket.com/flat-structure-vs-layered-architecture-structuring-your-go-app/ https://developer20.com/how-to-structure-go-code/ https://dev.to/jinxankit/go-project-structure-and-guidelines-4ccm https://github.com/bxcodec/go-clean-arch https://golangexample.com/example-go-clean-architecture-folder-pattern/ https://www.calhoun.io/flat-application-structure/ https://go.dev/doc/effective_go#names https://go.dev/blog/package-names

  21. FerretDB

    A truly Open Source MongoDB alternative

    Project mention: FerretDB: Use PostgreSQL with MongoDB Drivers | news.ycombinator.com | 2024-11-26
  22. Tile38

    Real-time Geospatial and Geofencing

  23. usql

    Universal command-line interface for SQL databases

    Project mention: Usql: Universal command-line interface for SQL databases | news.ycombinator.com | 2024-11-16

    It seems to support quite a large number of database drivers. If file size is such a concern you could recompile it with unneeded drivers omitted.

    https://github.com/xo/usql?tab=readme-ov-file#building

  24. pgweb

    Cross-platform client for PostgreSQL databases

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

  • [Bahasa] Tracer: Open Telemetry, Golang, and Jagger Simple Implementation

    3 projects | dev.to | 15 Jan 2025
  • How rqlite – the lightweight distributed database built on SQLite – is tested

    6 projects | news.ycombinator.com | 14 Jan 2025
  • Don't use JWT for Authorization!

    1 project | dev.to | 14 Jan 2025
  • Show HN: SRTD – Live-reloading SQL templates for Supabase migrations

    2 projects | news.ycombinator.com | 9 Jan 2025
  • Boulette: Protect you from yourself (even as root)

    2 projects | news.ycombinator.com | 10 Jan 2025
  • Ask HN: Any one know good AI SRE for Kubernetes?

    1 project | news.ycombinator.com | 8 Jan 2025
  • TiDB – cloud-native, distributed SQL database written in Go

    5 projects | news.ycombinator.com | 3 Jan 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Jan 2025
    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 56,753
2 etcd 48,169
3 tidb 37,698
4 Milvus 31,731
5 cockroach 30,363
6 jaeger 20,762
7 dgraph 20,571
8 vitess 18,962
9 dolt 18,141
10 rqlite 16,084
11 migrate 15,870
12 TinyGo 15,659
13 go-sql-driver/mysql 14,614
14 badger 14,158
15 sqlc 13,939
16 VictoriaMetrics 12,976
17 groupcache 12,965
18 bytebase 11,786
19 go-clean-arch 9,339
20 FerretDB 9,267
21 Tile38 9,213
22 usql 9,164
23 pgweb 8,706

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