13 best Go Database libraries in 2024
by marketing.admin@openweaver.com Updated: Feb 14, 2023
Guide Kit
Go Database libraries offer a generic SQL database interface. It supports databases like MySQL, SQLite, PostgreSQL, and many more. This library offers an effortless way to connect various databases and manage those connections. It supports the execution of SQL queries and prepared statements, allowing easy and secure access to databases.
Go Database libraries offer a simple and intuitive way to manage database transactions, allowing the execution of different SQL statements as a single unit of work. This library offers detailed error handling, providing developers with more information on what went wrong in case of any error. This library supports prepared statements, which will help prevent SQL injection attacks and make it a secure way to interact with databases. It is a generic SQL database interface and supports multiple database drivers making it a flexible and versatile choice for building database-driven applications.
Here is the list of the 13 best Go Database libraries that are handpicked to help developers:
prometheus:
- Is designed for collecting metrics from various sources, storing, and querying them to provide insights into a system's health and performance.
- Offers a set of tools to build applications that exposes metrics in a format that prometheus can understand.
- Supports several metrics like gauges, summaries, counters, and histograms.
prometheusby prometheus
The Prometheus monitoring system and time series database.
prometheusby prometheus
Go 48618 Version:v2.45.0-rc.0 License: Permissive (Apache-2.0)
tidb:
- Is an open source, MySQL-compatible, distributed RDBMS built for scalability and performance.
- Offers a way for executing SQL queries against TiDB databases.
- Offers a way to create, modify, and delete database schemas, indexes, and tables.
tidbby pingcap
TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
tidbby pingcap
Go 34236 Version:v6.5.3 License: Permissive (Apache-2.0)
cockroach:
- Is an open source, distributed SQL DBMS designed to provide reliable, scalable, and universally available transactional data storage.
- Offers a way for executing SQL queries against CockroachDB databases.
- Offers a simple and intuitive way to manage transactions in CockroachDB databases, allowing you to execute multiple SQL statements as a single unit of work.
cockroachby cockroachdb
CockroachDB - the open source, cloud-native distributed SQL database.
cockroachby cockroachdb
Go 27308 Version:custombuild-v23.1.2-2-ga0b35b5b83a License: Others (Non-SPDX)
influxdb:
- Offers an easy-to-use interface to perform common database operations like creating and deleting databases, reading, and writing data, and managing users.
- Is available in various programming languages like Java, JavaScript, Go, and Python.
- Every library implementation offers a set of classes and functions which can be used for interacting with InfluxDB.
influxdbby influxdata
Scalable datastore for metrics, events, and real-time analytics
influxdbby influxdata
Go 25602 Version:v2.7.1 License: Permissive (MIT)
dgraph:
- Is a distributed graph database that supports a flexible query and schema and is optimized for handling large-scale graph data.
- Offers an easy-to-use interface to perform common database operations like creating and deleting edges and nodes, reading, and writing data, and managing indexes.
- Includes writing data to the database, querying data from the database, and managing schema and indexes.
milvus:
- Is an open source vector database designed for storing and searching large-scale vector data like videos, images, and audio.
- Supports similarity search, allowing users to search for similar vectors in a dataset.
- Is a software library that will allow developers to interact with Milvus from within their programs.
milvusby milvus-io
A cloud-native vector database, storage for next generation AI applications
milvusby milvus-io
Go 19923 Version:v2.2.10 License: Permissive (Apache-2.0)
sqlx:
- Is an open source library that offers an enhanced interface for working with SQL databases in Rust.
- Offers a simple and ergonomic API for interacting with databases, making it easier to write robust and efficient database code and reducing boilerplate code.
- Supports Rust’s async/await syntax, allowing non-blocking I/O operations and efficient use of system resources.
teleport:
- Is an open source library that offers secure access to computing resources like containers, Kubernetes clusters, and servers.
- Offers a unified access layer that can be used for authorized and authenticated users, managing access to resources, and auditing user activity.
- Can be integrated into existing applications and supports different authentication like MFA and SSO.
teleportby gravitational
The easiest, most secure way to access infrastructure.
teleportby gravitational
Go 14571 Version:v13.1.1 License: Permissive (Apache-2.0)
rqlite:
- Is an open source distributed SQL database designed for use in high-throughput and low-latency environments.
- Offers consistent performance, fault tolerance, and scalability by distributing SQL queries and data across different nodes in a cluster.
- Can make it easier for developers to build applications that use rqlite as their data store.
rqliteby rqlite
The lightweight, distributed relational database built on SQLite
rqliteby rqlite
Go 13771 Version:v7.20.5 License: Permissive (MIT)
immudb:
- Is a key-value database, open source transactional with built-in cryptographic verification.
- Offers tamper-evident storage, is immutable, and supports ACID transactions.
- Includes executing transactions that modify the database, configuring the cryptographic verification settings, and monitoring database health and performance.
immudbby codenotary
immudb - immutable database based on zero trust, SQL and Key-Value, tamperproof, data change history
immudbby codenotary
Go 8235 Version:v1.4.1 License: Permissive (Apache-2.0)
db:
- Is a productive data access layer for the Go programming language, which offers agnostic tools to work with various data sources.
- Provides tools for common operations with databases and stays out of the way with advanced cases.
- Offers a common interface for developers to work with different NoSQL and SQL database engines.
dbby upper
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
dbby upper
Go 3326 Version:v4.6.0 License: Permissive (MIT)
cayley:
- Allows developers to store and query graph data using various query languages like SPARQL, Gremlin, and GraphQL.
- Is a software library that will allow developers to interact with Cayley from within their programs.
- Can make it easier for developers to build applications that use Cayley as their data store.
vitess:
- Offers horizontal resharding, scaling, and failover capabilities for MySQL databases.
- Is a software library that will allow developers to interact with Vitess from within their programming.
- Developers can focus on building their application's logic and let the library handle the low-level details of communicating with the Vitess database cluster.
vitessby vitessio
Vitess is a database clustering system for horizontal scaling of MySQL.
vitessby vitessio
Go 16325 Version:v17.0.0-rc2 License: Permissive (Apache-2.0)