Cute Gopher Mascot

The Best Go Libraries For Database (148)

Discover the best Go libraries for Database! Find the perfect tools to streamline your development and boost productivity. From gdcache to sqrl, we've got you covered. Let the coding begin!

gdcache

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

See More! ๐Ÿš€

sqrl

SQL query builder, fork of Squirrel with improved performance

See More! ๐Ÿš€

Squirrel

Go library that helps you build SQL queries

See More! ๐Ÿš€

go-cache

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

See More! ๐Ÿš€

Vasto

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

See More! ๐Ÿš€

xo

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

See More! ๐Ÿš€

bcache

Eventually consistent distributed in-memory cache Go library

See More! ๐Ÿš€

BigCache

Efficient key/value cache for gigabytes of data

See More! ๐Ÿš€

VictoriaMetrics

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

See More! ๐Ÿš€

2q

2Q in-memory cache implementation.

See More! ๐Ÿš€

cache

In-memory key:value store with expiration time, 0 dependencies, <100 LoC, 100% coverage.

See More! ๐Ÿš€

clusteredBigCache

BigCache with clustering support and individual item expiration

See More! ๐Ÿš€

coherence-go-client

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

See More! ๐Ÿš€

EchoVault

Embeddable Distributed in-memory data store compatible with Redis clients

See More! ๐Ÿš€

fastcache

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

See More! ๐Ÿš€

GCache

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

See More! ๐Ÿš€

gocache

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

See More! ๐Ÿš€

groupcache

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

See More! ๐Ÿš€

icache

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

See More! ๐Ÿš€

imcache

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

See More! ๐Ÿš€

nscache

A Go caching framework that supports multiple data source drivers

See More! ๐Ÿš€

otter

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

See More! ๐Ÿš€

theine

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

See More! ๐Ÿš€

remember-go

A universal interface for caching slow database queries (backed by redis, memcached, ristretto, or in-memory).

See More! ๐Ÿš€

sturdyc

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

See More! ๐Ÿš€

timedmap

Map with expiring key-value pairs

See More! ๐Ÿš€

ttlcache

An in-memory cache with item expiration and generics

See More! ๐Ÿš€

atlas

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

See More! ๐Ÿš€

avro

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

See More! ๐Ÿš€

bytebase

Safe database schema change and version control for DevOps teams

See More! ๐Ÿš€

darwin

Database schema evolution library for Go

See More! ๐Ÿš€

bbolt

An embedded key/value database for Go

See More! ๐Ÿš€

clover

A lightweight document-oriented NoSQL database written in pure Golang

See More! ๐Ÿš€

Bitcask

Bitcask is an embeddable, persistent and fast key-value (KV) database written in pure Go with predictable read/write performance, low latency and high throughput thanks to the bitcask on-disk layout (LSM+WAL).

See More! ๐Ÿš€

cockroach

Scalable, Geo-Replicated, Transactional Datastore

See More! ๐Ÿš€

Coffer

Simple ACID key-value database that supports transactions

See More! ๐Ÿš€

column

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

See More! ๐Ÿš€

CovenantSQL

CovenantSQL is a SQL database on blockchain

See More! ๐Ÿš€

dgraph

Scalable, Distributed, Low Latency, High Throughput Graph Database

See More! ๐Ÿš€

diskv

Home-grown disk-backed key-value store

See More! ๐Ÿš€

dolt

Dolt โ€“ It's Git for Data

See More! ๐Ÿš€

eliasdb

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

See More! ๐Ÿš€

godis

A Golang implemented high-performance Redis server and cluster

See More! ๐Ÿš€

dbmate

A lightweight, framework-agnostic database migration tool

See More! ๐Ÿš€

dtf

A distributed transaction manager. Support XA, TCC, SAGA, Reliable Messages.

See More! ๐Ÿš€

hare

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

See More! ๐Ÿš€

immudb

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

See More! ๐Ÿš€

influxdb

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

See More! ๐Ÿš€

ledisdb

Ledisdb is a high performance NoSQL like Redis based on LevelDB

See More! ๐Ÿš€

levigo

Levigo is a Go wrapper for LevelDB

See More! ๐Ÿš€

libradb

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

See More! ๐Ÿš€

LinDB

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

See More! ๐Ÿš€

skeema

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

See More! ๐Ÿš€

sql-migrate

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

See More! ๐Ÿš€

sqlize

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

See More! ๐Ÿš€

Milvus

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

See More! ๐Ÿš€

moss

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

See More! ๐Ÿš€

nutsdb

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

See More! ๐Ÿš€

objectbox-go

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

See More! ๐Ÿš€

pebble

RocksDB/LevelDB inspired key-value database in Go

See More! ๐Ÿš€

piladb

Lightweight RESTful database engine based on stack data structures

See More! ๐Ÿš€

pogreb

Embedded key-value store for read-heavy workloads

See More! ๐Ÿš€

prometheus

Monitoring system and time series database

See More! ๐Ÿš€

pudge

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

See More! ๐Ÿš€

rosedb

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

See More! ๐Ÿš€

rotom

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

See More! ๐Ÿš€

rqlite

The lightweight, distributed, relational database built on SQLite

See More! ๐Ÿš€

tidb

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

See More! ๐Ÿš€

tiedot

Your NoSQL database powered by Golang

See More! ๐Ÿš€

unitdb

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

See More! ๐Ÿš€

go-pg-migrations

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

See More! ๐Ÿš€

goavro

A Go package that encodes and decodes Avro data

See More! ๐Ÿš€

godfish

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

See More! ๐Ÿš€

goose

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

See More! ๐Ÿš€

gormigrate

Database schema migration helper for Gorm ORM

See More! ๐Ÿš€

libschema

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

See More! ๐Ÿš€

migrate

Database migrations. CLI and Golang library

See More! ๐Ÿš€

migrator

Dead simple Go database migration library

See More! ๐Ÿš€

migrator

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

See More! ๐Ÿš€

schema

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

See More! ๐Ÿš€

clickhouse-bulk

Collects small inserts and sends big requests to ClickHouse servers

See More! ๐Ÿš€

dbbench

Database benchmarking tool with support for several databases and scripts

See More! ๐Ÿš€

dg

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

See More! ๐Ÿš€

dynago

Simplify working with AWS DynamoDB.

See More! ๐Ÿš€

gatewayd

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

See More! ๐Ÿš€

go-mysql

Go toolset to handle MySQL protocol and replication

See More! ๐Ÿš€

gorm-multitenancy

Multi-tenancy support for GORM managed databases

See More! ๐Ÿš€

octillery

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

See More! ๐Ÿš€

onedump

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

See More! ๐Ÿš€

pg_timetable

Advanced scheduling for PostgreSQL

See More! ๐Ÿš€

pgweb

Web-based PostgreSQL database browser

See More! ๐Ÿš€

pREST

Simplify and accelerate development, โšก instant, realtime, high-performance on any Postgres application, existing or new

See More! ๐Ÿš€

rdb

Redis RDB file parser for secondary development and memory analysis

See More! ๐Ÿš€

wescale

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

See More! ๐Ÿš€

bqb

Lightweight and easy to learn query builder

See More! ๐Ÿš€

buildsqlx

Go database query builder library for PostgreSQL

See More! ๐Ÿš€

dbq

Zero boilerplate database operations for Go

See More! ๐Ÿš€

Dotsql

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

See More! ๐Ÿš€

gendry

Non-invasive SQL builder and powerful data binder

See More! ๐Ÿš€

sqlf

Fast SQL query builder

See More! ๐Ÿš€

goqu

Idiomatic SQL builder and query library

See More! ๐Ÿš€

Hotcoal

Secure your handcrafted SQL against injection

See More! ๐Ÿš€

igor

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

See More! ๐Ÿš€

jet

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

See More! ๐Ÿš€

ormlite

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

See More! ๐Ÿš€

ozzo-dbx

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

See More! ๐Ÿš€

qry

Tool that generates constants from files with raw SQL queries

See More! ๐Ÿš€

sg

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

See More! ๐Ÿš€

sq

Type-safe SQL builder and struct mapper for Go

See More! ๐Ÿš€

sqlingo

A lightweight DSL to build SQL in Go

See More! ๐Ÿš€

cache2go

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

See More! ๐Ÿš€

cachego

Golang Cache component for multiple drivers

See More! ๐Ÿš€

couchcache

RESTful caching micro-service backed by Couchbase server

See More! ๐Ÿš€

gocache

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

See More! ๐Ÿš€

ttlcache

In-memory key value storage with TTL for each record

See More! ๐Ÿš€

goleveldb

Implementation of the [LevelDB](https://github.com/google/leveldb) key/value database in Go

See More! ๐Ÿš€

lotusdb

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

See More! ๐Ÿš€

tempdb

Key-value store for temporary items

See More! ๐Ÿš€

go-fixtures

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

See More! ๐Ÿš€

go-pg-migrate

CLI-friendly package for go-pg migrations management

See More! ๐Ÿš€

gorm-seeder

Simple database seeder for Gorm ORM

See More! ๐Ÿš€

chproxy

HTTP proxy for ClickHouse database

See More! ๐Ÿš€

prep

Use prepared SQL statements without changing your code

See More! ๐Ÿš€

rwdb

rwdb provides read replica capability for multiple database servers setup

See More! ๐Ÿš€

builq

Easily build SQL queries in Go

See More! ๐Ÿš€

gosql

SQL Query builder with better null values support

See More! ๐Ÿš€

sqlc

Generate type-safe code from SQL

See More! ๐Ÿš€

go-gcache

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

See More! ๐Ÿš€

go-mcache

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

See More! ๐Ÿš€

jetcache-go

Unified Go cache library supporting multi-level caching

See More! ๐Ÿš€

pocache

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

See More! ๐Ÿš€

ristretto

A high performance memory-bound Go cache

See More! ๐Ÿš€

sturdyc

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

See More! ๐Ÿš€

badger

Fast key-value store in Go

See More! ๐Ÿš€

buntdb

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

See More! ๐Ÿš€

Databunker

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

See More! ๐Ÿš€

NoKV

High-performance distributed KV storage based on LSM Tree

See More! ๐Ÿš€

redka

Redis re-implemented with SQLite

See More! ๐Ÿš€

minisql

Embedded single file SQL database

See More! ๐Ÿš€

soda

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

See More! ๐Ÿš€

database-gateway

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

See More! ๐Ÿš€

GoSQLX

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

See More! ๐Ÿš€

vitess

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

See More! ๐Ÿš€

godbal

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

See More! ๐Ÿš€

obreron

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

See More! ๐Ÿš€

patcher

Powerful SQL Query builder that automatically generates SQL queries from structs

See More! ๐Ÿš€

relica

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

See More! ๐Ÿš€

DiceDB

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

See More! ๐Ÿš€