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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
sqlx: Extensions to Go's standard database/sql library for easier database interactions.
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)
-
-
Project mention: PgX – Debug Postgres performance in the context of your application code | news.ycombinator.com | 2026-01-09
-
Project mention: Show HN: I Wrote a Full Text Search Engine from Scratch in Go | news.ycombinator.com | 2025-10-09
Would love to hear how this compares to another popular go based full text search engine (with a not too dissimilar name) https://github.com/blevesearch/bleve?
-
> anything that depends on Go's Postgres client requires libpq which requires libc
Try https://github.com/lib/pq
-
-
MongoDB Go Driver: The official MongoDB driver for Golang, allowing you to interact with MongoDB databases.
-
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)
-
-
-
Go Database Drivers discussion
Go Database Drivers related posts
-
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
-
Show HN: I Wrote a Full Text Search Engine from Scratch in Go
-
MERN Stack Alternatives in Golang
-
Turning PostgreSQL into a Robust Queue for Go Applications
-
JWT Auth (Golang)
-
A note from our sponsor - SaaSHub
www.saashub.com | 10 Jun 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,127 |
| 2 | sqlx | 17,616 |
| 3 | go-sql-driver/mysql | 15,244 |
| 4 | cayley | 15,043 |
| 5 | pgx | 13,890 |
| 6 | bleve | 11,095 |
| 7 | pq | 9,897 |
| 8 | redigo | 9,861 |
| 9 | mongo-go-driver | 8,521 |
| 10 | elastic | 7,457 |
| 11 | go-elasticsearch | 6,051 |
| 12 | clickhouse-go | 3,299 |
| 13 | gocql | 2,684 |
| 14 | go-mssqldb | 1,883 |
| 15 | gomemcache | 1,867 |
| 16 | gorethink | 1,648 |
| 17 | qmgo | 1,353 |
| 18 | elasticsql | 1,194 |
| 19 | elastigo | 941 |
| 20 | mgm | 764 |
| 21 | go-oci8 | 632 |
| 22 | Sqinn-Go | 531 |
| 23 | aerospike-client-go | 459 |