Go Relational Databases

Open-source Go projects categorized as Relational Databases

Top 13 Go Relational Database Projects

  • sqlx

    general purpose extensions to golang's database/sql

    Project mention: Where Is the Spring Framework for Go? | reddit.com/r/golang | 2023-03-23

    This is the same situation I saw 20 years ago. Back then, all the managers were pushing development in Oracle tools. Those managers grew up on Oracle and Java was too modern for them. Now the situation is similar. Managers used to do things in Java and now they are still pushing Java. In fact, today Java brings nothing but problems. When I see a new project starting on Java it is always some big desperation. For a comparison of Java and Go, just look at the documentation for SQL. For go: https://pkg.go.dev/database/sql (31 pages) and maybe https://jmoiron.github.io/sqlx/ (12 pages). In Java only one class is 59 pages (https://docs.oracle.com/javase/8/docs/api/java/sql/ResultSet.html) and look how many of those documents there are: https://docs.oracle.com/en/java/javase/13/docs/api/java.sql/java/sql/package-summary.html and on top of that we have javax.sql - https://docs.oracle.com/javase/8/docs/api/javax/sql/package-summary.html And even then you use Hibernate for example, where the documentation has 11 manuals and of those the User Guide has 353 pages - https://docs.jboss.org/hibernate/orm/6.2/userguide/html\_single/Hibernate\_User\_Guide.html

  • go-sql-driver/mysql

    Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)

    Project mention: Questions regarding prepared statements in database/sql | reddit.com/r/golang | 2023-02-23

    I understand that database/db is an abstraction. As to the driver, sorry, it completely went out of my head. The guide primarily focuses on https://github.com/go-sql-driver/mysql, which is also what I’m interested in.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • pq

    Pure Go Postgres driver for database/sql

    Project mention: Ask HN: Slimvoice Alternative? | news.ycombinator.com | 2022-12-31
  • pgx

    PostgreSQL driver and toolkit for Go

    Project mention: Why use Rust on the back end? | news.ycombinator.com | 2023-03-20

    Why don't you use sqlc + pgx? What's missing from the two?



  • go-mssqldb

    Microsoft SQL server driver written in go language

    Project mention: Does sqlc/sqlx support MS-SQLServer? All examples for sqlc with postgres and mysql | reddit.com/r/golang | 2023-02-23
  • go-oci8

    Oracle driver for Go using database/sql

  • firebirdsql

    Firebird RDBMS sql driver for Go (golang)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • Sqinn-Go

    SQLite with pure Go

    Project mention: SQLite in Go, with and Without Cgo | news.ycombinator.com | 2022-05-13
  • go-adodb

    Microsoft ActiveX Object DataBase driver for go that using exp/sql

  • gofreetds

    Go Sql Server database driver.

  • vertica-sql-go

    Official native Go client for the Vertica Analytics Database.

  • bgc

    Datastore Connectivity for BigQuery in go (by viant)

  • pig

    Simple pgx wrapper to execute and scan query results

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-23.

Go Relational Databases related posts


What are some of the best open-source Relational Database projects in Go? This list will help you:

Project Stars
1 sqlx 13,447
2 go-sql-driver/mysql 13,144
3 pq 7,939
4 pgx 6,867
5 go-mssqldb 1,710
6 go-oci8 599
7 firebirdsql 193
8 Sqinn-Go 133
9 go-adodb 132
10 gofreetds 107
11 vertica-sql-go 53
12 bgc 19
13 pig 12
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives