DuckDB
Open-source analytical SQL database that runs inside the host process, using a columnar, vectorized engine to query local tables and files such as Parquet, CSV and JSON. It is used in notebooks, data pipelines and applications as a lightweight alternative to a warehouse. Version 2.0 added a client-server mode, triggers and a VARIANT type while keeping the embedded design.
Started at CWI Amsterdam by Mark Raasveldt and Hannes Muehleisen; the first tagged release appeared in June 2019.
Last verified:
Getting started (tested)
- Getting started with DuckDB in Python tested Dec 3, 2026
Key facts
| Maintainer | Stichting DuckDB Foundation |
|---|---|
| License | MIT |
| License notes | MIT license. The code, trademarks and IP are held by the non-profit Stichting DuckDB Foundation. DuckLabs, the company employing most core developers, agreed to be acquired by Amazon Web Services on 2026-08-26 and joined AWS in September 2026; the foundation and the MIT license were unaffected. |
| Open source (OSI) | Yes |
| First release | 2019 |
| Latest stable version | 2.0.1 (Nov 20, 2026) |
| Deployment | embedded, self-hosted, managed |
| Query languages | SQL |
| Written in | C++ |
| Website | duckdb.org |
| Documentation | duckdb.org |
| Source code | github.com/duckdb/duckdb |
Radar
adopt A proven default for its category: mature, widely run in production, with a healthy project behind it.
The default choice for single-node and in-process analytics on local or object-storage files, with a permissive license and a fast release cadence.
Ring reviewed Dec 3, 2026.
Alternatives
Featured in guides
Related news
- DuckDB 2.0 LTS adds a built-in server mode Oct 21, 2026
- AWS agrees to acquire DuckLabs, the core team behind DuckDB Aug 26, 2026
Benchmarks
Independent, academic and vendor-published results are listed separately; each links to a page with results, caveats and sources. See the benchmark policy.
Vendor-published
ClickBench data-lake variants: Parquet, Iceberg and Vortex (link only)
A growing share of ClickBench entries now query open file and table formats rather than native storage, which makes the leaderboard a practical reference for lakehouse query engines and accelerators. Because many engines appear both with native storage and with Parquet or Iceberg, the leaderboard lets readers see how much each engine's own storage format contributes and how partitioning changes results. The Iceberg entries are the newest and cover only a subset of engines.
Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified
ClickBench analytical DBMS leaderboard, December 2026 snapshot (link only)
ClickBench is the most widely cited open leaderboard for single-node analytical query speed, with roughly 235 system variants including embedded engines, MPP warehouses, managed cloud services, Postgres extensions and dataframe libraries. Column-oriented engines with vectorised execution dominate the hot-run rankings, while row stores and search engines trail on this scan-heavy workload. Read it as a test of one flat-table workload, not of joins, concurrency or ingestion.
Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified
db-benchmark group-by on 1 billion rows (c6id.metal), November 2026 snapshot
On the largest group-by dataset, DuckDB, ClickHouse, chDB, DataFusion and Polars all finished the simple low-cardinality aggregation in well under a second, while the high-cardinality question (grouping by id3) separated them more clearly. Spark took seconds to minutes on both questions, but its latest metal run is an older 4.0.0 batch. Only two of the ten group-by questions are copied here; the full report weighs all of them.
12 results reproduced · data license MPL-2.0 · verified
db-benchmark group-by on 100 million rows (c6id.4xlarge), November 2026 snapshot
On the mid-size dataset and a 16-vCPU machine, all six engines answered the simple aggregation quickly, with DuckDB recording the lowest first-run time for that question. On the high-cardinality question DuckDB and DataFusion were close, with chDB, ClickHouse and Polars in the next band and Spark slowest. The gap between engines is narrower than at 50 GB.
12 results reproduced · data license MPL-2.0 · verified
db-benchmark joins on 1 billion rows (c6id.metal), November 2026 snapshot
At the largest join scale only a few engines produced results. DuckDB and Polars completed the medium join in a few seconds, while ClickHouse needed tens of seconds and took far longer on the big-to-big join. The Polars figure comes from an older 1.30.0 batch, because newer versions have no recorded result on this dataset.
6 results reproduced · data license MPL-2.0 · verified
db-benchmark joins on 100 million rows (c6id.4xlarge), November 2026 snapshot
DuckDB had the lowest first-run times on both copied join questions, with Polars next. The ClickHouse server and chDB took several times longer on these joins, and Spark completed only part of the join set in its latest batch. Join performance depends heavily on each engine's join algorithm defaults, which the benchmark does not tune.
9 results reproduced · data license MPL-2.0 · verified
JSONBench: analytics over 1 billion Bluesky JSON events (link only)
JSONBench compares how document stores, search engines and analytical databases handle analytics on real nested JSON at up to a billion documents. The benchmark highlights a key design choice: some systems split JSON into typed columns at insert time, which helps compression and scan speed but means the original document cannot always be returned exactly, while others store whole documents. Coverage differs by scale, so check which systems have results at the size you care about.
Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified
RTABench: real-time analytics with joins on a normalised schema (link only)
RTABench was created as a counterpart to single-table benchmarks such as ClickBench, testing selective, join-heavy queries typical of analytics embedded in applications. The workload is designed to reward features such as efficient joins and incremental materialised views, which Postgres-based TimescaleDB offers. Because the publisher sells two of the tested systems, treat the leaderboard as a vendor benchmark with an open methodology.
Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified
Sources
Last verified:
- duckdb.org/2026/11/20/announcing-duckdb-201 duckdb.org
- duckdb.org/2026/10/21/announcing-duckdb-200 duckdb.org
- github.com/duckdb/duckdb github.com
- github.com/duckdb/duckdb/blob/main/LICENSE github.com
- en.wikipedia.org/wiki/DuckDB en.wikipedia.org
- duckdb.foundation duckdb.foundation
- duckdb.org/2026/08/26/ducklabs-to-join-aws duckdb.org
- ducklabs.com ducklabs.com
Found an error? See how to report a correction.