# DuckDB

[BASE product page](<https://base.akulich.dev/en/library/duckdb/>) · [Resource](<https://github.com/duckdb/duckdb>)

ID: duckdb · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

An embedded analytical SQL database: it runs local queries against tables and files and is useful for data analysis and embedded analytics\.

## Type

Database / data tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/duckdb/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/duckdb/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/duckdb/#resource-access>)

Compute, your own hosting, and external services are paid for separately if selected\.

## [Access and limitations](<https://base.akulich.dev/en/library/duckdb/#resource-access>)

Code and local use under MIT\. Compute, your own hosting, and external services are paid for separately if selected\.

## [Use cases](<https://base.akulich.dev/en/library/duckdb/#resource-tasks>)

- Run an analytical SQL query against local data
- Write an aggregation query and compare the result with reference data

## Category IDs

- backend

## Subcategory IDs

- backend\.databases

## Tags

- DuckDB
- database
- Development

## Also known as

- duckdb/duckdb
- duckdb
- duck\-database

## [Selection purpose](<https://base.akulich.dev/en/library/duckdb/#resource-selection>)

Run an analytical SQL query against local data

## [Choose this when](<https://base.akulich.dev/en/library/duckdb/#resource-selection>)

- Run an analytical SQL query against local data
- Write an aggregation query and compare the result with reference data

## [Consider alternatives when](<https://base.akulich.dev/en/library/duckdb/#resource-selection>)

- When choosing for this topic, compare DuckDB with Apache Superset\. A candidate to compare under the topic: Databases\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- When choosing for this topic, compare DuckDB with ClickHouse\. A candidate to compare under the topic: Databases\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## [Limitations](<https://base.akulich.dev/en/library/duckdb/#resource-selection>)

- Costs and limits of free use: Compute, your own hosting, and external services are paid for separately if selected\.
- Terms of use: MIT: code; dependencies have separate licenses\.

## [Questions before use](<https://base.akulich.dev/en/library/duckdb/#resource-faq>)

### What can you use for free in DuckDB?

Code and local use under MIT\.

### What additional costs might arise with DuckDB?

Compute, your own hosting, and external services are paid for separately if selected\.

### What terms of use matter for DuckDB?

MIT: code; dependencies have separate licenses\.

### How do you get started with DuckDB?

Connect a table or file dataset to DuckDB\. Write an SQL aggregation and compare the result with reference data\. Save the query and input file schema; repeat the calculation with a new sample and missing data\.

### Must CSV or Parquet be imported into a table first?

In the example, DuckDB reads a file directly from FROM: SELECT \* FROM 'myfile\.csv' or 'myfile\.parquet'\. A standalone CLI and Python, R, Java, and Wasm clients are available\. SQL includes window functions, correlated subqueries, and nested arrays/structs/maps\.

## Related resources selected by editors

- apache\-superset: A candidate to compare under the topic: Databases\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- clickhouse: A candidate to compare under the topic: Databases\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- metabase: A candidate to compare under the topic: Databases\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## Sources for the selection guide

- [https://github\.com/duckdb/duckdb](<https://github.com/duckdb/duckdb>)
- [https://raw\.githubusercontent\.com/duckdb/duckdb/HEAD/README\.md](<https://raw.githubusercontent.com/duckdb/duckdb/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/duckdb/duckdb/HEAD/LICENSE](<https://raw.githubusercontent.com/duckdb/duckdb/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/duckdb/#resource-scenario>)

Run an analytical SQL query against local data\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A schema, test dataset, and queries\.
- A supported database or runtime\.

## Steps

1. Connect a table or file dataset to DuckDB\.
2. Write an SQL aggregation and compare the result with reference data\.
3. Save the query and input file schema; repeat the calculation with a new sample and missing data\.

## Check your result

- Aggregates match reference data; check NULL, types, and time zones\.
- Files can be read within available memory; the workflow does not require promised managed hosting\.

## [License](<https://base.akulich.dev/en/library/duckdb/#resource-license>)

MIT: code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- metabase
- apache\-superset
- clickhouse

## [Sources](<https://base.akulich.dev/en/library/duckdb/#resource-sources>)

- [Official source](<https://github.com/duckdb/duckdb>)
- [Official source](<https://raw.githubusercontent.com/duckdb/duckdb/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/duckdb/duckdb/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose, the current repository license, and the boundaries between code, services, and models were reviewed\. The product was not run or security\-audited\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
