← All Go categories

Database Go Libraries Ranking

Libraries for building and using SQL.

155 repositories, updated daily.

- Monitoring system and time series database.

65.6K
10.7K
Yesterday
+246 weekly
View

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

45.5K
4.2K
Yesterday
+106 weekly
View

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

40.4K
6.2K
Yesterday
+31 weekly
View

key/value database in Go.

39.3K
8.2K
Yesterday
+13 weekly
View

- Scalable, Geo-Replicated, Transactional Datastore.

32.4K
4.1K
Yesterday
+17 weekly
View

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

31.7K
3.7K
Yesterday
+10 weekly
View

- Dolt – It's Git for Data.

24.1K
846
Yesterday
+78 weekly
View

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

21.8K
1.6K
2 days ago
+10 weekly
View

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

21.2K
2.4K
Yesterday
+28 weekly
View

- Database migrations. CLI and Golang library.

18.8K
1.6K
Yesterday
+30 weekly
View

- Generate type-safe code from SQL.

18.1K
1.1K
Yesterday
+30 weekly
View

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

17.7K
799
Yesterday
+12 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.5K
1.7K
Yesterday
+61 weekly
View

- Fast key-value store in Go.

15.7K
1.3K
Yesterday
+10 weekly
View

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

14.4K
966
Yesterday
+48 weekly
View

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

13.3K
1.4K
Yesterday
+0 weekly
View

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

11.3K
688
Yesterday
+46 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
+3 weekly
View

- An embedded key/value database for Go.

9.7K
743
Yesterday
+11 weekly
View

- Web-based PostgreSQL database browser.

9.5K
857
Yesterday
+6 weekly
View

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

9.0K
376
Yesterday
+8 weekly
View

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

8.6K
369
Yesterday
+11 weekly
View

- Efficient key/value cache for gigabytes of data.

8.1K
613
Yesterday
-3 weekly
View

- Go library that helps you build SQL queries.

8.0K
515
Yesterday
+5 weekly
View

- A lightweight, framework-agnostic database migration tool.

7.0K
357
Yesterday
+10 weekly
View

- A high performance memory-bound Go cache.

7.0K
443
Yesterday
+3 weekly
View

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

6.0K
573
Yesterday
+8 weekly
View

- Go toolset to handle MySQL protocol and replication.

5.0K
1.1K
2 days ago
-2 weekly
View

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

4.9K
645
Yesterday
+1 weekly
View

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

4.9K
308
6 days ago
+1 weekly
View

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

4.6K
310
3 days ago
+3 weekly
View

- Redis re-implemented with SQLite.

4.6K
135
2 days ago
+4 weekly
View

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

4.1K
434
4 days ago
+1 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
335
2 days ago
+2 weekly
View

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

3.8K
602
2 days ago
+1 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
186
Yesterday
+2 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
345
Yesterday
+2 weekly
View

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

3.4K
291
2 weeks ago
+0 weekly
View

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

3.1K
283
3 days ago
+0 weekly
View

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

2.9K
223
6 days ago
+1 weekly
View

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

2.7K
281
2 weeks ago
+0 weekly
View

- Your NoSQL database powered by Golang.

2.7K
258
1 week ago
-1 weekly
View

- Idiomatic SQL builder and query library.

2.7K
224
1 week ago
+0 weekly
View

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

2.7K
66
Yesterday
+2 weekly
View

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

2.4K
195
1 week ago
+0 weekly
View

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

2.3K
187
2 days ago
+1 weekly
View

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

2.2K
505
1 week ago
+0 weekly
View
#48

didi/gendry

Archived

- Non-invasive SQL builder and powerful data binder.

1.6K
195
Yesterday
-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
1 week ago
+0 weekly
View

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

1.5K
95
2 days ago
+1 weekly
View

- HTTP proxy for ClickHouse database.

1.5K
276
2 days ago
+2 weekly
View

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

1.5K
108
3 days ago
-1 weekly
View

- Advanced scheduling for PostgreSQL.

1.4K
73
Yesterday
+2 weekly
View

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

1.4K
106
1 week ago
+0 weekly
View

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

1.4K
95
1 week ago
+1 weekly
View

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

1.3K
34
2 days ago
+11 weekly
View

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

1.3K
51
1 week ago
+1 weekly
View

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

1.3K
144
Yesterday
+3 weekly
View

- Database schema migration helper for Gorm ORM.

1.2K
101
2 days ago
+2 weekly
View

- A Go package that encodes and decodes Avro data.

1.1K
231
2 days ago
+1 weekly
View

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

1.0K
49
1 week ago
+0 weekly
View

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

1.0K
65
1 week ago
+0 weekly
View

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

986
70
2 days ago
+2 weekly
View

– A Pure Golang implemented SQLite driver without CGO.

861
43
Yesterday
+2 weekly
View

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

838
47
2 days ago
+3 weekly
View

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

828
69
3 days ago
+2 weekly
View

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

743
50
1 month ago
+0 weekly
View

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

670
111
3 weeks ago
+0 weekly
View

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

620
144
6 days ago
+1 weekly
View

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

536
47
6 days ago
-1 weekly
View

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

512
88
Yesterday
+1 weekly
View

- Unified Go cache library supporting multi-level caching.

500
33
Yesterday
-2 weekly
View

- A lightweight DSL to build SQL in Go.

455
26
1 week ago
+0 weekly
View

- Levigo is a Go wrapper for LevelDB.

421
82
4 days ago
+1 weekly
View

- Zero boilerplate database operations for Go.

416
20
2 months ago
+0 weekly
View

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

377
23
3 days ago
+0 weekly
View

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

370
36
1 month ago
+0 weekly
View
#80

faabiosr/cachego

Archived

- Golang Cache component for multiple drivers.

370
22
2 months ago
+0 weekly
View

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

316
14
1 month ago
+0 weekly
View

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

287
23
1 week ago
+0 weekly
View

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

286
39
1 week ago
+0 weekly
View

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

281
13
4 weeks ago
+0 weekly
View

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

270
25
1 week ago
+1 weekly
View

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

262
30
1 week ago
+0 weekly
View

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

236
6
3 months ago
+0 weekly
View

- Lightweight RESTful database engine based on stack data structures.

206
23
1 month 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
1 month ago
+0 weekly
View

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

201
11
2 months ago
+0 weekly
View

- Lightweight and easy to learn query builder.

194
12
1 month ago
+0 weekly
View

- Fast SQL query builder.

189
18
1 month ago
+0 weekly
View

- Go database query builder library for PostgreSQL.

187
17
1 month ago
+0 weekly
View

- Cloud-native continuous backup for PostgreSQL.

180
9
4 days ago
+0 weekly
View

- Dead simple Go database migration library.

178
18
1 year ago
+0 weekly
View

- Eventually consistent distributed in-memory cache Go library.

165
20
1 week ago
+1 weekly
View

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

162
13
2 months ago
+0 weekly
View

- Database schema evolution library for Go.

150
34
4 months ago
+0 weekly
View

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

136
3
3 weeks ago
+0 weekly
View

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

128
5
2 weeks ago
+0 weekly
View

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

125
14
1 month 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.

124
11
3 months 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
9 months ago
+0 weekly
View

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

118
19
Yesterday
+0 weekly
View

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

110
10
Yesterday
+1 weekly
View

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

107
19
1 month ago
+0 weekly
View

- Easily build SQL queries in Go.

98
2
2 months ago
+0 weekly
View

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

97
11
4 months ago
+0 weekly
View

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

87
20
1 month ago
+0 weekly
View

- Multi-tenancy support for GORM managed databases.

83
8
1 month ago
+0 weekly
View

- Map with expiring key-value pairs.

75
10
2 months ago
+0 weekly
View

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

69
15
2 weeks ago
+0 weekly
View

- RESTful caching micro-service backed by Couchbase server.

64
7
1 week ago
+0 weekly
View

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

60
29
2 months ago
+0 weekly
View

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

52
4
4 days ago
-1 weekly
View

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

49
10
2 months ago
+0 weekly
View

- Embedded single file SQL database.

48
3
5 days ago
+1 weekly
View

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

46
3
5 days ago
+1 weekly
View

- BigCache with clustering support and individual item expiration.

45
5
10 months ago
+0 weekly
View

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

44
5
1 month ago
+0 weekly
View

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

42
4
1 month ago
+0 weekly
View

- Simple ACID key-value database that supports transactions.

41
4
3 weeks ago
+0 weekly
View

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

39
1
1 month ago
+0 weekly
View

- SQL Query builder with better null values support.

37
2
1 month ago
+0 weekly
View

- Use prepared SQL statements without changing your code.

36
6
11 months 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
2 months ago
+0 weekly
View

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

24
1
2 weeks ago
+0 weekly
View

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

23
3
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
3 weeks ago
+0 weekly
View

- Secure your handcrafted SQL against injection.

23
1
11 months ago
+0 weekly
View

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

23
3
11 months ago
+0 weekly
View

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

21
2
9 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.

20
0
Yesterday
+0 weekly
View

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

19
5
1 week ago
+0 weekly
View

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

19
4
1 week ago
+0 weekly
View

- Key-value store for temporary items.

19
3
2 years 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.

18
1
2 days ago
+2 weekly
View

- Simple database seeder for Gorm ORM.

18
2
4 weeks ago
+0 weekly
View

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

15
6
1 month ago
+0 weekly
View

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

15
0
1 month ago
+0 weekly
View

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

15
3
3 months ago
+0 weekly
View

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

14
1
3 days ago
+0 weekly
View

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

14
0
3 weeks ago
+0 weekly
View

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

14
1
1 month 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
2 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 year ago
+0 weekly
View

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

10
8
1 year ago
+0 weekly
View

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

9
5
1 month ago
+0 weekly
View

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

8
1
3 weeks ago
+0 weekly
View

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

7
0
3 days ago
+1 weekly
View

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

7
0
1 year ago
+0 weekly
View

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

4
0
3 days ago
+0 weekly
View