Go Database

Open-source Go projects categorized as Database | Edit details

Top 23 Go Database Projects

  • GitHub repo prometheus

    The Prometheus monitoring system and time series database.

    Project mention: Server monitoring tool on Linux? | reddit.com/r/selfhosted | 2021-10-17

    I use Prometheus (plus prometheus-node-exporter and alertmanager). You might need to do a bit of scripting for metrics provided out of the box, but it's usually really simple and the result works well.

  • GitHub repo etcd

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

    Project mention: Package Management Nightmare | reddit.com/r/golang | 2021-10-12

    They have an open issue for it and looks like no blockers, and a PR bumping the otel version, so it looks like it's moving.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo tidb

    TiDB is an open source distributed HTAP database compatible with the MySQL protocol

    Project mention: Question regarding computing industry | reddit.com/r/NTU | 2021-06-20

    My knowledge is still quite limited because I never worked on the internals of distributed databases (I've only used and deployed them as an intern) but I have taken Advanced Databases CZ4031 in NTU and Parallel and Distributed Algorithms CS4231 in NUS which helped me get some basic understanding so you can consider taking those if you are interested. If you want to see how an open source database looks like, I would recommend TiDB because their documentation is quite good.

  • GitHub repo cockroach

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

    Project mention: CockroachDB Grants and Schemas explained | dev.to | 2021-08-28

    And here: https://github.com/cockroachdb/cockroach/issues/16790

  • GitHub repo InfluxDB

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

    Project mention: 100% Self hosted energy monitor | reddit.com/r/selfhosted | 2021-09-13

    InfluxDB 2.0 and Telegraf, for reading values into a time series database

  • GitHub repo dgraph

    Native GraphQL Database with graph backend

    Project mention: Uber using External Consistency database Google Cloud Spanner | reddit.com/r/googlecloud | 2021-09-30

    Thanks, cool. I will check out https://dgraph.io/

  • GitHub repo jaeger

    CNCF Jaeger, a Distributed Tracing Platform

    Project mention: A practical tracing journey with OpenTelemetry on Node.js | dev.to | 2021-10-08

    Let's talk about the exporter. Because OTel is an open standard, you can theoretically export to any tool that supports the OTel API. For example, there's a ConsoleExporter included that prints traces to the console, but that's not very useful. There's an exporter to Elasticsearch, and you can write your own library to export to a file or database or whatever. However, two of the most popular options are Jaeger and Zipkin, and you can easily run them locally with Docker.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo vitess

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

    Project mention: Comparing AWS's RDS and PlanetScale | news.ycombinator.com | 2021-10-05

    This offering really isn't apples to apples. It would be better compared against AWS Aurora or https://vitess.io/

  • GitHub repo go-sql-driver/mysql

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

    Project mention: Do you use connection attributes and assign a name to your clients when connecting to MySQL? | reddit.com/r/mysql | 2021-08-13

    Missing support: - Go go-sql-driver/mysql - PHP

  • GitHub repo groupcache

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

    Project mention: How to Create HTTP Cache Service in Golang? | reddit.com/r/golang | 2021-09-06

    How it goes sometimes. Check out https://github.com/golang/groupcache and of course the AWS golang SDK.

  • GitHub repo badger

    Fast key-value DB in Go.

    Project mention: What is "the go way" for File-based cache in multiple plattforms (UNIX and Windows mainly)? | reddit.com/r/golang | 2021-09-29

    I’m pretty sure Badger is cross platform. It’s embedded, so I don’t see any reason why not.

  • GitHub repo dolt

    Dolt – It's Git for Data

    Project mention: Dolt Is Git for Data | news.ycombinator.com | 2021-09-27
  • GitHub repo rqlite

    The lightweight, distributed relational database built on SQLite

    Project mention: What is the best approach in order to send the database state to a server periodically? | reddit.com/r/learnprogramming | 2021-09-17

    Disclaimer: I have never tried this, but a quick search found this: https://github.com/rqlite/rqlite

  • GitHub repo TinyGo

    Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.

    Project mention: SSD1306 OLED Displays on Pi Pico (C++) | reddit.com/r/raspberry_pi | 2021-09-29

    Tinygo also has a bunch of drivers for different peripherals. Definetely check it out! https://tinygo.org/

  • GitHub repo milvus

    An open-source vector database for embedding similarity search and AI applications.

    Project mention: Milvus is an OSS vector db for embedding similarity search and AI applications | news.ycombinator.com | 2021-10-14
  • GitHub repo Tile38

    Real-time Geospatial and Geofencing

    Project mention: Tile38 - a geolocation data store, spatial index, and realtime geofence | reddit.com/r/golang | 2021-08-14
  • GitHub repo migrate

    Database migrations. CLI and Golang library.

    Project mention: Problem with migrations (go-migrate) | reddit.com/r/golang | 2021-09-29


  • GitHub repo pgweb

    Cross-platform client for PostgreSQL databases

  • GitHub repo kingshard

    A high-performance MySQL proxy

  • GitHub repo go-cache

    An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.

    Project mention: Cache locally using text file | reddit.com/r/learnprogramming | 2021-07-28

    implementing runtime cache using map seems doable, i may just learn from github.com/patrickmn/go-cache but i dont understand what does it mean cache locally using text file. does it mean I have to:

  • GitHub repo VictoriaMetrics

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

    Project mention: CPU Performance of a docker minecraft java server on Raspberry Pi 4 | reddit.com/r/admincraft | 2021-10-04

    If I had to set this up all over again I'd probably keep Grafana, use VictoriaMetrics instead of Graphite and telegraf instead of collectd. VictoriaMetrics in particular is much more flexible and easy to work with than Graphite and has a lot of momentum behind it. There's nothing wrong with collectd but it's starting to show its age and doesn't support things like tagging as well as telegraf does.

  • GitHub repo BigCache

    Efficient cache for gigabytes of data written in Go.

  • GitHub repo bbolt

    An embedded key/value database for Go.

    Project mention: Introducing Weaviate, a fast modular vector search engine with out of the box support for state-of-the-art ML models written in Go | reddit.com/r/golang | 2021-04-12

    We initially went for using bolt (and later bbolt) which is the same store that powers etcd. It uses a B+tree approach. It worked great, but we're not happy with the write performance. We're currently in the process of switching to a custom LSM-tree-based approach, which is what you typically find in DBs with great write performance (e.g. Cassandra).

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 2021-10-17.


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

Project Stars
1 prometheus 39,114
2 etcd 37,505
3 tidb 29,252
4 cockroach 22,245
5 InfluxDB 22,212
6 dgraph 16,770
7 jaeger 14,409
8 vitess 12,650
9 go-sql-driver/mysql 11,551
10 groupcache 10,713
11 badger 9,836
12 dolt 9,524
13 rqlite 8,955
14 TinyGo 8,750
15 milvus 8,278
16 Tile38 7,772
17 migrate 7,336
18 pgweb 7,049
19 kingshard 5,826
20 go-cache 5,441
21 VictoriaMetrics 5,266
22 BigCache 5,180
23 bbolt 4,848
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives