Go Database

Open-source Go projects categorized as Database

Top 23 Go Database Projects

  • prometheus

    The Prometheus monitoring system and time series database.

    Project mention: Change Hostmonitor for something modern | reddit.com/r/Monitoring | 2022-11-30

    Prometheus is probably the most modern.

  • etcd

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

    Project mention: A poor man's API | dev.to | 2022-11-23

    APISIX stores its configuration in etcd

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • tidb

    TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try free: https://tidbcloud.com/free-trial

    Project mention: Banco de dados puramente com go | reddit.com/r/brdev | 2022-11-08

    Pesquise por CockroachDB ou TiDB

  • cockroach

    CockroachDB - the open source, cloud-native distributed SQL database.

    Project mention: How do I implement a HA PostgreSQL setup in k8s/k3s ? | reddit.com/r/kubernetes | 2022-11-23

    Technically not postgres, but could be worth checking out cockroach db, it can use any postgres driver from programming languages and is build for distribution. I recently moved from postgres to cockroach (with golang postgres driver) and didnt need to change a single query

  • InfluxDB

    Scalable datastore for metrics, events, and real-time analytics

    Project mention: reduct-storage alternatives - minio and InfluxDB | libhunt.com/r/reduct-storage | 2022-10-04
  • dgraph

    Native GraphQL Database with graph backend

    Project mention: What's the big deal about key-value databases like FoundationDB ands RocksDB? | news.ycombinator.com | 2022-08-23
  • jaeger

    CNCF Jaeger, a Distributed Tracing Platform

    Project mention: Learning Go by examples: part 10 - Instrument your Go app with OpenTelemetry and send traces to Jaeger - Distributed Tracing | dev.to | 2022-11-21

    Jaeger is an open-source distributed tracing platform.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • vitess

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

    Project mention: How to handle databases for Microservices in Kubernetes | reddit.com/r/kubernetes | 2022-11-26
  • milvus

    Vector database for scalable similarity search and AI applications.

    Project mention: Introducing Notion AI | news.ycombinator.com | 2022-11-16

    Thanks for the shout-out! For folks interested in playing around with vector and/or hybrid search: Milvus is open-source (https://github.com/milvus-io/milvus).

  • dolt

    Dolt – Git for Data

    Project mention: You've heard of big data, now get ready for cozy data | reddit.com/r/DataHoarder | 2022-11-18
  • go-sql-driver/mysql

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

    Project mention: Question about inserting date into MySQL? | reddit.com/r/golang | 2022-11-15

    If you are using https://github.com/go-sql-driver/mysql you need to add parseTime=true to the DSN to be able to use time.Time.

  • rqlite

    The lightweight, distributed relational database built on SQLite

    Project mention: Crsql – Multi-writer and CRDT support for SQLite | news.ycombinator.com | 2022-11-14
  • TinyGo

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

    Project mention: Kakve su vam plate u embedded-u? | reddit.com/r/programiranje | 2022-10-20

    Zapravo Arduino može da izvrši Go. Postoji nešto što se zove TinyGo. Slično je dosta Micro Pythonu. Sve gore navedeno je dobro za upoznavanje sa embeddom, ali za komercijalne projekte se u 95% slučajeva koristi C ili C++.

  • groupcache

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

    Project mention: Distributed fault-tolerant persistent atomic counter in golang | reddit.com/r/golang | 2022-07-21

    I read that group cache (https://github.com/golang/groupcache) can be used to sync servers around a key.

  • badger

    Fast key-value DB in Go.

    Project mention: Is there a nice embedded json db, like PoloDB (Rust) for Golang | reddit.com/r/golang | 2022-11-05

    I use Badger a lot, it doesn’t do much but it’s fast

  • migrate

    Database migrations. CLI and Golang library.

    Project mention: Libraries you use most of your projects? | reddit.com/r/golang | 2022-11-02

    There are other things I generally drag around out of habit like migrate, but I don't necessarily love those as much.

  • Tile38

    Real-time Geospatial and Geofencing

    Project mention: Your Data Fits in RAM | news.ycombinator.com | 2022-08-02

    I actually worked on a project that did this. We used a database called "Tile38" [1] which used an R-Tree to make geospatial queries speedy. It was pretty good.

    Our dataset was ~150 GiB, I think? All in RAM. Took a while to start the server, as it all came off disk. Could have been faster. (It borrowed Redis's query language, and its storage was just "store the commands the recreate the DB, literally", IIRC. Dead simple, but a lot of slack/wasted space there.)

    Overall not a bad database. Latency serving out of RAM was, as one should/would expect, very speedy!

    [1]: https://tile38.com/

  • immudb

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

    Project mention: AWS and Blockchain | news.ycombinator.com | 2022-11-20
  • usql

    Universal command-line interface for SQL databases

    Project mention: Is there a CLI interface to browse SQL databases? | reddit.com/r/commandline | 2022-08-10

    take a look at: https://github.com/xo/usql

  • pgweb

    Cross-platform client for PostgreSQL databases

  • VictoriaMetrics

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

    Project mention: VictoriaMetrics v1.84.0 has been released | reddit.com/r/VictoriaMetrics | 2022-11-29

    New releases contain a lot of new features for vmui and MetricsQL. Check out new feature and changes at: https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.84.0

  • go-clean-arch

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

    Project mention: Best practices for structuring Go HTTP applications | reddit.com/r/golang | 2022-10-25
  • sqlc

    Generate type-safe code from SQL

    Project mention: ORMs | reddit.com/r/golang | 2022-11-14


  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

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). The latest post mention was on 2022-11-30.

Go Database related posts


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

Project Stars
1 prometheus 45,674
2 etcd 41,976
3 tidb 32,889
4 cockroach 26,154
5 InfluxDB 24,504
6 dgraph 18,681
7 jaeger 16,773
8 vitess 15,150
9 milvus 14,354
10 dolt 13,540
11 go-sql-driver/mysql 12,851
12 rqlite 12,537
13 TinyGo 11,915
14 groupcache 11,826
15 badger 11,560
16 migrate 10,261
17 Tile38 8,368
18 immudb 7,982
19 usql 7,668
20 pgweb 7,572
21 VictoriaMetrics 7,452
22 go-clean-arch 6,855
23 sqlc 6,780
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.