← All Go categories

Database Go Libraries Ranking

Libraries for building and using SQL.

162 repositories, updated daily.

- Monitoring system and time series database.

67.7K
11.0K
Yesterday
+129 weekly
View

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

46.7K
4.3K
Yesterday
+50 weekly
View

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

40.8K
6.3K
Yesterday
+23 weekly
View

key/value database in Go.

39.6K
8.3K
Yesterday
+24 weekly
View

- Scalable, Geo-Replicated, Transactional Datastore.

32.6K
4.2K
Yesterday
+17 weekly
View

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

31.8K
3.8K
Yesterday
+20 weekly
View

- Dolt – It's Git for Data.

24.9K
925
Yesterday
+63 weekly
View

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

21.8K
1.6K
Yesterday
+9 weekly
View

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

21.4K
2.5K
Yesterday
+8 weekly
View

- Database migrations. CLI and Golang library.

19.0K
1.7K
Yesterday
-12 weekly
View

- Generate type-safe code from SQL.

18.5K
1.2K
Yesterday
+2 weekly
View

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

18.1K
1.8K
Yesterday
+32 weekly
View

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

18.0K
827
Yesterday
+16 weekly
View

- Fast key-value store in Go.

15.8K
1.3K
Yesterday
-10 weekly
View

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

14.7K
1.0K
Yesterday
+9 weekly
View

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

13.3K
1.4K
2 days ago
+3 weekly
View

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

11.7K
835
Yesterday
+16 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
-1 weekly
View

- An embedded key/value database for Go.

9.8K
783
Yesterday
-3 weekly
View

- Web-based PostgreSQL database browser.

9.6K
876
Yesterday
+4 weekly
View

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

9.1K
385
Yesterday
-1 weekly
View

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

8.8K
385
Yesterday
+12 weekly
View

- Efficient key/value cache for gigabytes of data.

8.2K
621
Yesterday
-5 weekly
View

- Go library that helps you build SQL queries.

8.0K
516
Yesterday
+2 weekly
View

- A lightweight, framework-agnostic database migration tool.

7.6K
390
Yesterday
+14 weekly
View

- A high performance memory-bound Go cache.

7.0K
465
Yesterday
+0 weekly
View

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

6.1K
610
Yesterday
-3 weekly
View

- Go toolset to handle MySQL protocol and replication.

5.0K
1.1K
2 days ago
+1 weekly
View

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

4.9K
642
Yesterday
-4 weekly
View

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

4.9K
323
Yesterday
+1 weekly
View

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

4.6K
327
Yesterday
+4 weekly
View

- Redis re-implemented with SQLite.

4.6K
135
Yesterday
+0 weekly
View

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

4.1K
434
Yesterday
-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
337
Yesterday
-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
198
Yesterday
+0 weekly
View

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

3.8K
596
Yesterday
+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
352
Yesterday
+0 weekly
View

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

3.4K
293
1 week ago
-1 weekly
View

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

3.1K
286
Yesterday
-2 weekly
View

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

2.9K
224
Yesterday
-1 weekly
View

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

2.7K
286
Yesterday
-3 weekly
View

- Your NoSQL database powered by Golang.

2.7K
253
Yesterday
-1 weekly
View

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

2.7K
74
Yesterday
-2 weekly
View

- Idiomatic SQL builder and query library.

2.7K
227
Yesterday
+0 weekly
View

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

2.4K
199
Yesterday
+0 weekly
View

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

2.3K
186
Yesterday
+0 weekly
View

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

2.1K
500
Yesterday
-1 weekly
View
#48

didi/gendry

Archived

- Non-invasive SQL builder and powerful data binder.

1.6K
194
Yesterday
-3 weekly
View

- CovenantSQL is a SQL database on blockchain.

1.5K
146
Yesterday
-1 weekly
View

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

1.5K
248
Yesterday
+1 weekly
View

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

1.5K
69
Yesterday
+1 weekly
View

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

1.5K
102
Yesterday
+0 weekly
View

- HTTP proxy for ClickHouse database.

1.5K
284
Yesterday
-2 weekly
View

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

1.5K
114
3 days ago
+1 weekly
View

- Advanced scheduling for PostgreSQL.

1.4K
78
Yesterday
+0 weekly
View

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

1.4K
104
2 days ago
+2 weekly
View

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

1.4K
96
Yesterday
+0 weekly
View

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

1.3K
155
Yesterday
+0 weekly
View

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

1.3K
35
Yesterday
-1 weekly
View

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

1.3K
51
Yesterday
+0 weekly
View

- Database schema migration helper for Gorm ORM.

1.2K
101
Yesterday
-1 weekly
View

- A Go package that encodes and decodes Avro data.

1.1K
236
Yesterday
-1 weekly
View

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

1.0K
48
Yesterday
-1 weekly
View

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

1.0K
66
Yesterday
-2 weekly
View

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

1.0K
74
Yesterday
+2 weekly
View

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

932
57
Yesterday
+1 weekly
View

– A Pure Golang implemented SQLite driver without CGO.

886
44
Yesterday
+0 weekly
View

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

836
69
Yesterday
+2 weekly
View

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

739
49
Yesterday
-1 weekly
View

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

674
111
Yesterday
-1 weekly
View

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

634
149
Yesterday
+0 weekly
View

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

539
47
Yesterday
-1 weekly
View

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

511
88
Yesterday
-1 weekly
View

- Unified Go cache library supporting multi-level caching.

498
34
Yesterday
-2 weekly
View

- A lightweight DSL to build SQL in Go.

456
25
Yesterday
-1 weekly
View

- Levigo is a Go wrapper for LevelDB.

420
82
2 weeks ago
+0 weekly
View

- Zero boilerplate database operations for Go.

417
20
Yesterday
-1 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.

388
12
Yesterday
+3 weekly
View

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

381
25
1 week ago
+1 weekly
View
#80

faabiosr/cachego

Archived

- Golang Cache component for multiple drivers.

369
22
Yesterday
-1 weekly
View

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

369
36
4 days ago
-1 weekly
View

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

316
14
2 weeks ago
+0 weekly
View

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

289
24
2 days ago
-1 weekly
View

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

285
14
1 week ago
+0 weekly
View

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

285
39
3 weeks ago
+0 weekly
View

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

272
26
1 week ago
+0 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 month ago
+0 weekly
View

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

256
64
1 week ago
+0 weekly
View

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

238
6
1 week ago
+0 weekly
View

- Lightweight RESTful database engine based on stack data structures.

206
23
4 months ago
+0 weekly
View

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

201
26
2 weeks ago
+0 weekly
View

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

201
31
1 month ago
+0 weekly
View

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

200
11
3 weeks ago
+0 weekly
View

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

197
3
Yesterday
+3 weekly
View

- Lightweight and easy to learn query builder.

195
12
Yesterday
+0 weekly
View

- Fast SQL query builder.

189
17
5 months ago
+0 weekly
View

- Cloud-native continuous backup for PostgreSQL.

186
11
3 days ago
+1 weekly
View

- Go database query builder library for PostgreSQL.

185
17
2 weeks ago
+0 weekly
View

- Dead simple Go database migration library.

179
18
1 month ago
+0 weekly
View

- Eventually consistent distributed in-memory cache Go library.

163
20
3 weeks ago
+0 weekly
View

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

161
13
2 weeks ago
+0 weekly
View

- Database schema evolution library for Go.

151
34
1 week ago
+1 weekly
View

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

141
3
3 weeks ago
+0 weekly
View

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

129
5
1 month ago
+0 weekly
View

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

127
16
5 days ago
+3 weekly
View

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

125
13
2 months 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
13
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
1 year ago
+0 weekly
View

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

121
1
3 months ago
+0 weekly
View

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

118
19
2 weeks ago
+0 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
6 months ago
+0 weekly
View

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

97
11
8 months ago
+0 weekly
View

- Multi-tenancy support for GORM managed databases.

88
9
1 week ago
+0 weekly
View

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

87
20
4 months ago
+0 weekly
View

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

75
17
3 weeks ago
+0 weekly
View

- Map with expiring key-value pairs.

75
10
6 months ago
+0 weekly
View

- RESTful caching micro-service backed by Couchbase server.

64
7
1 month ago
+0 weekly
View

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

60
20
6 months ago
+0 weekly
View

- Embedded single file SQL database.

57
3
1 week ago
+1 weekly
View

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

53
4
2 weeks ago
+0 weekly
View

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

49
10
5 months ago
+0 weekly
View

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

46
3
3 months 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
1 month ago
+0 weekly
View

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

42
4
1 week ago
+0 weekly
View

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

41
2
1 week ago
+0 weekly
View

- Simple ACID key-value database that supports transactions.

41
4
1 month ago
+0 weekly
View

- SQL Query builder with better null values support.

37
2
5 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
6 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.

28
0
1 week 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.

26
6
3 days ago
+1 weekly
View

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

25
1
3 months ago
+0 weekly
View

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

24
3
2 months 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
4 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
2 months ago
+0 weekly
View

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

21
2
1 year ago
+0 weekly
View

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

19
5
2 months 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
4 months ago
+0 weekly
View

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

15
0
3 months ago
+0 weekly
View

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

15
6
4 months ago
+0 weekly
View

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

15
0
4 months ago
+0 weekly
View

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

15
3
7 months ago
+0 weekly
View

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

14
1
2 months ago
+0 weekly
View

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

14
1
4 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
6 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

- PostgreSQL schema migrations for Go, with no dependencies outside the standard library.

11
4
4 days ago
+0 weekly
View

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

10
0
3 weeks 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
4
4 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.

8
0
1 month ago
+0 weekly
View

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

8
1
4 months ago
+0 weekly
View

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

7
0
2 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

- Package for type-safe generic SQL CRUD operations with pagination, transactions, debugging, and custom raw SQL extensions.

3
0
10 months ago
+0 weekly
View

- SQL query builder for hand-written SQL, adding dynamic conditions, dialect-aware placeholders, and immutable chaining.

2
0
1 month ago
+0 weekly
View