# marcboeker/go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.

Repository: https://github.com/marcboeker/go-duckdb
Canonical: https://ross.abutalabs.com/products/go-duckdb
Language: Go
License: MIT
License Family: permissive
Archived: true
Last push: 2025-10-15T14:22:01+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 47, release rhythm 35, longevity 100
- inputs: {"age_days": 2667, "days_push": 322, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1071, forks 182 (observed 2026-08-28T04:03:28.103891+00:00)

## What it is
go-duckdb is a Go database/sql driver for the DuckDB embedded analytical database engine. It allows Go applications to query DuckDB using the standard database/sql interface, and has now migrated to the DuckDB organization as duckdb-go.

## Use cases
- run analytical SQL queries from Go against DuckDB
- embed an OLAP database in a Go application
- query Parquet and CSV files with SQL from Go
- replace SQLite with a columnar analytics engine in Go apps
- build data pipelines that process local datasets in Go

## When to choose
- you need DuckDB access from Go via the standard database/sql API
- you want embedded, in-process analytical queries without running a server
- you need to query Parquet/CSV/JSON files directly with SQL

## When to avoid
- you need a client-server database like PostgreSQL or MySQL
- you use FreeBSD and require pre-built binaries
- you need a pure-Go driver without CGO

## Facets
- artifact type: library
- maturity: active
- function: database-driver, database
- domain: databases, developer-tools
- platform: go, windows
- tags: duckdb, database-sql, analytics, embedded-database, sql, data-engineering, linux, macos

## Member repositories
- marcboeker/go-duckdb (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:28.103891+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:50.664357+00:00, confidence not recorded.
  - readme: https://github.com/marcboeker/go-duckdb (fetched 2026-08-28T04:03:28.103891+00:00, sha 612abacb583c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
