SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go Database Driver Projects
-
Project mention: War Story: We Survived a 2-Hour Outage with Redis 8.0 Cluster and Sentinel | dev.to | 2026-05-02
Redis 8.0’s default Sentinel election timeout of 500ms is tuned for single-region deployments with sub-10ms inter-node latency. For any cluster spanning multiple regions, cloud availability zones, or with more than 10 shards, this default is dangerously low. Our outage was directly caused by Sentinel nodes in us-west-2 (68ms RTT from us-east-1) missing election heartbeats due to the 500ms timeout, triggering false failovers that cascaded across the cluster. Always benchmark your election timeout against your actual network latency: use the go-redis client to measure RTT between Sentinel nodes, then set election-timeout to at least 4x the maximum RTT between any two Sentinels. For our 68ms RTT, 4x is 272ms, but we set 2000ms to add headroom for network jitter during peak traffic. This single change eliminated 14 false failovers per month. Always validate timeout changes with the benchmark tool from Code Example 3 before rolling to production.
-
AppSignal
Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
-
Project mention: Golang proposal: container/: generic collection types | news.ycombinator.com | 2026-07-31
Well, better late than never. Stuff like sets or a typed heap is long overdue. Maybe they'll even add iterator API for database/sql results this decade too (something like my pull request for sqlx https://github.com/jmoiron/sqlx/pull/990 but maybe more polished)
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)
-
-
Go 1.25 or later, which pgx v5.11.0, the PostgreSQL driver, requires. The code also uses crypto/rand.Text (Go 1.24) and method patterns such as "POST /payments" in http.HandleFunc, which arrived in Go 1.22.
-
Project mention: My note server has no search engine. Search still answers in 0.4 ms. | dev.to | 2026-07-16
vellum MCP is a self-hosted server over a folder of markdown, your agent's memory as plain .md files you own. Search is the feature everyone expects to be "solved" by a library: bolt on bleve or a vector index and move on.
-
> anything that depends on Go's Postgres client requires libpq which requires libc
Try https://github.com/lib/pq
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
elastic
Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
-
Project mention: Como criar uma "busca inteligente" para seu Wiki utilizando Go e ElasticSearch | dev.to | 2025-10-21
Web Server Go Elasticsearch client Documentação Oficial do Elasticsearch JSON Handling in Go Type Assertions in Go
-
-
-
-
-
-
qmgo
Qmgo - The Go driver for MongoDB. It‘s based on official mongo-go-driver but easier to use like Mgo.
-
-
-
mgm
Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver) (by Kamva)
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Database Drivers discussion
Go Database Drivers related posts
-
How to Implement Idempotency Keys in Go with PostgreSQL
-
Golang proposal: container/: generic collection types
-
My note server has no search engine. Search still answers in 0.4 ms.
-
Why I Built a Go SQL Helper
-
PgX – Debug Postgres performance in the context of your application code
-
Go is portable, until it isn't
-
Como criar uma "busca inteligente" para seu Wiki utilizando Go e ElasticSearch
-
A note from our sponsor - SaaSHub
www.saashub.com | 13 Oct 2026
Index
What are some of the best open-source Database Driver projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Redis | 22,256 |
| 2 | sqlx | 17,725 |
| 3 | go-sql-driver/mysql | 15,271 |
| 4 | cayley | 15,063 |
| 5 | pgx | 14,319 |
| 6 | bleve | 11,233 |
| 7 | pq | 9,962 |
| 8 | redigo | 9,849 |
| 9 | mongo-go-driver | 8,531 |
| 10 | elastic | 7,451 |
| 11 | go-elasticsearch | 6,067 |
| 12 | clickhouse-go | 3,348 |
| 13 | gocql | 2,696 |
| 14 | gomemcache | 1,886 |
| 15 | go-mssqldb | 1,883 |
| 16 | gorethink | 1,647 |
| 17 | qmgo | 1,355 |
| 18 | elasticsql | 1,193 |
| 19 | elastigo | 941 |
| 20 | mgm | 762 |
| 21 | go-oci8 | 633 |
| 22 | Sqinn-Go | 541 |
| 23 | aerospike-client-go | 458 |