← All Go categories

Database Go Libraries Ranking

Libraries for building and using SQL.

160 repositories, updated daily.

- Monitoring system and time series database.

66.2K
10.8K
Yesterday
+97 weekly
View

- Milvus is a vector database for embedding management, analytics and search.

46.2K
4.3K
Yesterday
+99 weekly
View

- TiDB is a distributed SQL database. Inspired by the design of Google F1.

40.6K
6.2K
Yesterday
+42 weekly
View

key/value database in Go.

39.4K
8.2K
Yesterday
+19 weekly
View

- Scalable, Geo-Replicated, Transactional Datastore.

32.5K
4.1K
Yesterday
+20 weekly
View

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

31.8K
3.7K
Yesterday
+10 weekly
View

- Dolt – It's Git for Data.

24.5K
876
Yesterday
+55 weekly
View

- Scalable, Distributed, Low Latency, High Throughput Graph Database.

21.8K
1.6K
Yesterday
+4 weekly
View

- vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.

21.4K
2.4K
Yesterday
+15 weekly
View

- Database migrations. CLI and Golang library.

18.9K
1.6K
Yesterday
+16 weekly
View

- Generate type-safe code from SQL.

18.3K
1.1K
Yesterday
+19 weekly
View

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

17.8K
809
Yesterday
+19 weekly
View

- fast, resource-effective and scalable open source time series database. May be used as long-term remote storage for Prometheus. Supports PromQL.

17.8K
1.7K
Yesterday
+31 weekly
View

- Fast key-value store in Go.

15.8K
1.3K
Yesterday
+1 weekly
View

- Safe database schema change and version control for DevOps teams.

14.5K
983
Yesterday
+16 weekly
View

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

13.3K
1.4K
3 days ago
+1 weekly
View

- Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.

11.5K
700
Yesterday
+25 weekly
View

- An open-source, fast, reactive, in-memory database optimized for modern hardware. Higher throughput and lower median latencies, making it ideal for modern workloads.

10.8K
1.4K
Yesterday
-2 weekly
View

- An embedded key/value database for Go.

9.7K
753
Yesterday
+4 weekly
View

- Web-based PostgreSQL database browser.

9.5K
865
2 days ago
+9 weekly
View

- immudb is a lightweight, high-speed immutable database for systems and applications written in Go.

9.0K
378
2 days ago
+0 weekly
View

- A Database Toolkit. A CLI designed to help companies better work with their data.

8.7K
376
Yesterday
+17 weekly
View

- Efficient key/value cache for gigabytes of data.

8.2K
613
2 days ago
-1 weekly
View

- Go library that helps you build SQL queries.

8.0K
511
2 days ago
-3 weekly
View

- A lightweight, framework-agnostic database migration tool.

7.4K
379
Yesterday
+21 weekly
View

- A high performance memory-bound Go cache.

7.0K
448
Yesterday
+2 weekly
View

- RocksDB/LevelDB inspired key-value database in Go.

6.0K
585
2 days ago
+9 weekly
View

- Go toolset to handle MySQL protocol and replication.

5.0K
1.1K
2 days ago
+3 weekly
View

- An embedded k-v database based on LSM+WAL, supports string, list, hash, set, zset.

4.9K
643
1 week ago
-1 weekly
View

- Fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.

4.9K
311
3 days ago
+0 weekly
View

- Simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new.

4.6K
322
Yesterday
+1 weekly
View

- Redis re-implemented with SQLite.

4.6K
135
3 days ago
+0 weekly
View

- Ledisdb is a high performance NoSQL like Redis based on LevelDB.

4.1K
435
1 week ago
+0 weekly
View

- Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.

3.9K
337
3 days ago
+2 weekly
View

- A Golang implemented high-performance Redis server and cluster.

3.8K
598
Yesterday
+2 weekly
View

- Framework for writing type-safe SQL queries in Go, with ability to easily convert database query result into desired arbitrary object structure.

3.8K
193
6 days ago
+1 weekly
View

- Nutsdb is a simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.

3.6K
344
5 days ago
+0 weekly
View

- Database migration tool. Allows embedding migrations into the application using go-bindata.

3.4K
292
1 week ago
+0 weekly
View

- LinDB is a scalable, high performance, high availability distributed time series database.

3.1K
284
2 days ago
+0 weekly
View

- A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more.

2.9K
222
3 days ago
-1 weekly
View

- Cache library with support for expirable Cache, LFU, LRU and ARC.

2.7K
281
1 week ago
+0 weekly
View

- Your NoSQL database powered by Golang.

2.7K
257
3 days ago
+0 weekly
View

- A high performance lockless cache for Go. Many times faster than Ristretto and friends.

2.7K
70
2 days ago
+4 weekly
View

- Idiomatic SQL builder and query library.

2.7K
224
4 days ago
-1 weekly
View

- fast thread-safe inmemory cache for big number of entries. Minimizes GC overhead.

2.4K
195
4 days ago
+0 weekly
View

- Fast k/v database compatible with lsm and b+tree.

2.3K
187
2 weeks ago
+0 weekly
View

- In-memory key:value cache which supports automatic invalidation based on timeouts.

2.2K
503
3 weeks ago
+0 weekly
View
#48

didi/gendry

Archived

- Non-invasive SQL builder and powerful data binder.

1.6K
194
5 days ago
-2 weekly
View

- CovenantSQL is a SQL database on blockchain.

1.5K
146
1 week ago
+0 weekly
View

- Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.

1.5K
251
1 week ago
+0 weekly
View

- High-performance, columnar, embeddable in-memory store with bitmap indexing and transactions.

1.5K
68
6 days ago
+1 weekly
View

- Personally identifiable information (PII) storage service built to comply with GDPR and CCPA.

1.5K
99
Yesterday
+3 weekly
View

- HTTP proxy for ClickHouse database.

1.5K
279
Yesterday
+4 weekly
View

- Home-grown disk-backed key-value store.

1.5K
108
2 weeks ago
+0 weekly
View

- Advanced scheduling for PostgreSQL.

1.4K
74
Yesterday
+2 weekly
View

- Pure-SQL schema management system for MySQL, with support for sharding and external online schema change tools.

1.4K
107
Yesterday
-2 weekly
View

- Embedded key-value store for read-heavy workloads.

1.3K
94
2 weeks ago
+0 weekly
View

- An in-memory cache with item expiration and generics.

1.3K
147
5 days ago
+2 weekly
View

- A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant.

1.3K
34
6 days ago
-1 weekly
View

- High-performance embedded Object Database (NoSQL) with Go API.

1.3K
51
1 week ago
+0 weekly
View

- Database schema migration helper for Gorm ORM.

1.2K
100
1 week ago
+0 weekly
View

- A Go package that encodes and decodes Avro data.

1.1K
232
2 weeks ago
+0 weekly
View

- Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.

1.0K
48
Yesterday
+0 weekly
View

- Moss is a simple LSM key-value storage engine written in 100% Go.

1.0K
66
1 month ago
+0 weekly
View

- Database backup from different drivers to different destinations with one command and configuration.

997
72
2 days ago
+3 weekly
View

- High performance graph + vector database (Neo4j and qDrant compatible), focused on low latency graph-rag retreival for AI systems.

883
52
Yesterday
+9 weekly
View

– A Pure Golang implemented SQLite driver without CGO.

875
43
Yesterday
+1 weekly
View

- A lightweight document-oriented NoSQL database written in pure Golang.

835
68
2 days ago
+2 weekly
View

- Go library that helps you keep sql files in one place and use them with ease.

738
49
2 weeks ago
+0 weekly
View

- Powerful data retrieval methods as well as DB-agnostic query building capabilities.

672
112
Yesterday
+2 weekly
View

- Redis RDB file parser for secondary development and memory analysis.

631
145
2 weeks ago
+0 weekly
View

- Embeddable Distributed in-memory data store compatible with Redis clients.

536
47
4 days ago
-1 weekly
View

- Collects small inserts and sends big requests to ClickHouse servers.

512
88
4 weeks ago
+0 weekly
View

- Unified Go cache library supporting multi-level caching.

501
33
2 weeks ago
+0 weekly
View

- A lightweight DSL to build SQL in Go.

454
25
2 days ago
+0 weekly
View

- Levigo is a Go wrapper for LevelDB.

421
81
1 month ago
+0 weekly
View

- Zero boilerplate database operations for Go.

416
20
4 months ago
+0 weekly
View

- Query CSV, TSV, LTSV, JSON, JSONL, Parquet, Excel, ACH, and Fedwire files with SQL through the database/sql API, backed by in-memory SQLite.

385
10
2 days ago
+3 weekly
View

- High performance, near optimal in-memory cache with proactive TTL expiration and generics.

380
24
1 week ago
+0 weekly
View
#80

faabiosr/cachego

Archived

- Golang Cache component for multiple drivers.

369
22
1 month ago
+0 weekly
View

- Fast and simple key/value store written using Go's standard library.

368
35
1 month ago
+0 weekly
View

- WeScale is a database proxy designed to enhance the scalability, performance, security, and resilience of your applications.

316
14
2 months ago
+0 weekly
View

- Cloud-native database gateway and framework for building data-driven applications. Like API gateways, for databases.

288
24
3 weeks ago
+0 weekly
View

- SQL query builder, fork of Squirrel with improved performance.

286
39
1 month ago
+0 weekly
View

- Lightweight columnar log analytics database with a pipe-style query language inspired by SPL.

284
14
2 weeks ago
+0 weekly
View

A GC-less, fast and generic LRU hashmap library with optional locking, sharding, eviction and expiration.

270
26
2 weeks ago
+0 weekly
View

- A distributed high-performance key-value store. On Disk. Eventual consistent. HA. Able to grow or shrink without service interruption.

261
30
1 month ago
+0 weekly
View

- Parser for ClickHouse-dialect SQL that produces a typed AST, with traversal helpers, round-trip formatting, and a CLI.

253
59
5 days ago
+2 weekly
View

- Pocache is a minimal cache package which focuses on a preemptive optimistic caching strategy.

237
6
1 week ago
+0 weekly
View

- Lightweight RESTful database engine based on stack data structures.

206
23
2 months ago
+0 weekly
View

- LibraDB is a simple database with less than 1000 lines of code for learning.

202
26
2 weeks ago
+0 weekly
View

- Go package for sharding databases ( Supports every ORM or raw SQL ).

202
31
2 months ago
+0 weekly
View

- Type-safe SQL builder and struct mapper for Go.

200
11
3 weeks ago
+0 weekly
View

- Lightweight and easy to learn query builder.

194
12
2 months ago
+0 weekly
View

- Fast SQL query builder.

189
18
3 months ago
+0 weekly
View

- Go database query builder library for PostgreSQL.

188
17
1 month ago
+0 weekly
View

- Execute SQL against CSV, TSV, LTSV, JSON, Parquet, and Excel files in an interactive shell, backed by in-memory SQLite.

187
4
2 days ago
+9 weekly
View

- Cloud-native continuous backup for PostgreSQL.

182
12
6 days ago
+0 weekly
View

- Dead simple Go database migration library.

177
18
3 weeks ago
+0 weekly
View

- Eventually consistent distributed in-memory cache Go library.

165
20
1 month ago
+0 weekly
View

- A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.

162
13
3 months ago
+0 weekly
View

- Database schema evolution library for Go.

150
34
6 months ago
+0 weekly
View

- A lightweight, zero-dependency, append-only Time-Series Database and Dashboard optimized for low-power hardware.

140
3
6 days ago
+1 weekly
View

- Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.

128
5
2 months ago
+0 weekly
View

- Database migration generator. Allows generate sql migration from model and existing sql by differ them.

125
13
2 weeks ago
+0 weekly
View

- Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application.

123
11
1 month ago
+0 weekly
View

- A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding.

123
6
10 months ago
+0 weekly
View

- A simple way to use in-memory cache in Golang (TTL/FIFO/LRU/LFU).

121
1
1 month ago
+0 weekly
View

- Database benchmarking tool with support for several databases and scripts.

118
19
4 days ago
+0 weekly
View

- High-performance SQL parser, formatter, linter, and security scanner with multi-dialect support and WASM playground.

115
13
1 week ago
+0 weekly
View

- Fast in-memory key:value store/cache library. Pointer caches.

107
19
2 months ago
+0 weekly
View

- Easily build SQL queries in Go.

98
2
4 months ago
+0 weekly
View

- A simple database management system that stores each table as a text file of line-delimited JSON.

97
11
6 months ago
+0 weekly
View

- A Go package to help write migrations with go-pg/pg.

87
20
2 months ago
+0 weekly
View

- Multi-tenancy support for GORM managed databases.

85
8
5 days ago
+1 weekly
View

- PostgreSQL CLI client written in Go, inspired by pgcli.

75
17
Yesterday
+0 weekly
View

- Map with expiring key-value pairs.

75
10
4 months ago
+0 weekly
View

- RESTful caching micro-service backed by Couchbase server.

63
7
1 month ago
+0 weekly
View

- Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.

60
20
4 months ago
+0 weekly
View

- Type-safe SQL query builder with dialect-aware rendering, schema introspection, and migration generation.

52
4
1 month ago
+0 weekly
View

- Embedded single file SQL database.

49
3
3 weeks ago
+0 weekly
View

- Discover SQL schemas and convert them to AVRO schemas. Query SQL records into AVRO bytes.

49
10
3 months ago
+0 weekly
View

- A fast data generator that produces CSV files from generated relational data.

46
3
1 month ago
+0 weekly
View

- BigCache with clustering support and individual item expiration.

45
5
1 year ago
+0 weekly
View

- Library to embed schema migrations for database/sql-compatible databases inside your Go binaries.

44
5
2 months ago
+0 weekly
View

- A tiny Redis server built with Golang, compatible with RESP protocols.

42
4
3 months ago
+0 weekly
View

- Simple ACID key-value database that supports transactions.

41
4
2 months ago
+0 weekly
View

- Running SQL in production with ACLs, logs, and shared links.

40
1
3 weeks ago
+0 weekly
View

- SQL Query builder with better null values support.

37
2
3 months ago
+0 weekly
View

- Use prepared SQL statements without changing your code.

36
6
1 year ago
+0 weekly
View

- Tool that generates constants from files with raw SQL queries.

35
7
2 years ago
+0 weekly
View

- Django style fixtures for Golang's excellent built-in database/sql library.

32
11
4 months ago
+0 weekly
View

- Type-safe database query builder with zero production dependencies, LRU statement cache, batch operations, and support for JOINs, subqueries, CTEs, and window functions.

26
0
4 days ago
+1 weekly
View

- MongoDB-like embedded database, written in pure-go. Supports indexing and complex queries.

25
1
1 month ago
+0 weekly
View

- A data race free Go ache library with high performance and auto pruge functionality

24
3
2 weeks ago
+0 weekly
View

- Embedded cognitive memory database for AI agents. Six-layer architecture (L0-L5), Dream consolidation pipeline, three-channel RRF retrieval (BM25 + f16 vector + entity), single .meh file, pure Go, zero infrastructure.

23
5
2 weeks ago
+0 weekly
View

- MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.

23
4
2 months ago
+0 weekly
View

- Secure your handcrafted SQL against injection.

23
1
1 year ago
+0 weekly
View

- A High Performance, Generic, thread-safe, zero-dependency cache package.

23
3
1 year ago
+0 weekly
View

- CLI for versioned database schema migrations with support for PostgreSQL, MySQL, ClickHouse, Tarantool, and Apache Iceberg.

22
4
3 weeks ago
+0 weekly
View

- rwdb provides read replica capability for multiple database servers setup.

21
2
10 months ago
+0 weekly
View

- Define your migrations separately in each library. Migrations for open source libraries. MySQL & PostgreSQL.

19
5
2 weeks ago
+0 weekly
View

- Key-value store for temporary items.

19
3
2 years ago
+0 weekly
View

- Simple database seeder for Gorm ORM.

18
2
2 months ago
+0 weekly
View

- Zero-boilerplate SQL helper with struct tags and Go generics (CRUD, UPSERT, JOIN, benchmarks).

15
0
1 month ago
+0 weekly
View

- Full implementation of Oracle Coherence cache API for Go applications using gRPC as network transport.

15
6
2 months ago
+0 weekly
View

- A Go caching framework that supports multiple data source drivers.

15
0
2 months ago
+0 weekly
View

- Lightweight package containing some ORM-like features and helpers for sqlite databases.

15
3
5 months ago
+0 weekly
View

- Database migration manager, works with native query language. Support for cassandra, mysql, postgres, sqlite3.

14
1
2 weeks ago
+0 weekly
View

- Fast and cheap SQL builder which does only one thing, SQL building.

14
1
2 months ago
+0 weekly
View

- A pure non-intrusive cache library implemented by golang, you can use it to implement your own distributed cache.

14
2
4 months ago
+0 weekly
View

- The generic version of `GCache`, cache support for expirable Cache, LFU, LRU and ARC.

12
0
1 year ago
+0 weekly
View

- CLI-friendly package for go-pg migrations management.

11
3
1 week ago
+0 weekly
View

- In-memory key value storage with TTL for each record.

10
8
1 year ago
+0 weekly
View

- Native metadata service for distributed filesystems, object storage, and AI dataset workloads.

9
0
1 week ago
+0 weekly
View

- Powerful SQL Query builder that automatically generates SQL queries from structs.

9
5
2 months ago
+0 weekly
View

- Serverless PostgreSQL backups to S3 using AWS Lambda, with daily, monthly, and yearly rotation.

8
1
2 months ago
+0 weekly
View

- CLI that monitors PostgreSQL connection counts (total, active, idle, stale) and notifies via Slack and/or Loki when thresholds are exceeded. Supports Kubernetes (kubectl port-forward) and optional run context in notifications.

7
0
Yesterday
View

- AI-first cross-database CLI tool with read-only protection and structured JSON output.

7
0
3 weeks ago
+0 weekly
View

- A SQL Gen for generating standard SQLs(supports: CRUD) written in Go.

7
0
1 year ago
+0 weekly
View