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.

Embedded & In-Process OLAP

Last verified:

Getting started (tested)

Key facts

MaintainerStichting DuckDB Foundation
LicenseMIT
License notesMIT 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 release2019
Latest stable version2.0.1 (Nov 20, 2026)
Deploymentembedded, self-hosted, managed
Query languagesSQL
Written inC++
Websiteduckdb.org
Documentationduckdb.org
Source codegithub.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

All DuckDB alternatives

Featured in guides

Related news

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)

    ClickHouse, Inc. · · ClickBench (data lake / open table format entries) · Analytics (OLAP)

    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.

    Systems: ClickHouse, DuckDB, Trino, Presto, StarRocks, Apache Spark SQL, Apache Iceberg, Apache DataFusion, Apache Doris, Databend, Daft, Firebolt, Hyper, Umbra, Sail, Opteryx, MotherDuck (DuckLake), Spark with Gluten, Comet, Velox or Auron accelerators

    Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified

  • ClickBench analytical DBMS leaderboard, December 2026 snapshot (link only)

    ClickHouse, Inc. · · ClickBench · Analytics (OLAP)

    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.

    Systems: ClickHouse, DuckDB, Snowflake, Google BigQuery, Databricks, Amazon Redshift, PostgreSQL, MySQL, MariaDB, SQLite, MongoDB, Elasticsearch, OpenSearch, Apache Druid, Apache Pinot, StarRocks, Trino, Presto, Greenplum, Vertica, SingleStore, TiDB, CockroachDB, YugabyteDB, TimescaleDB, QuestDB, kdb+, Firebird, Apache Impala, Apache Hive, Apache Spark SQL, Supabase, Turso, OceanBase, Microsoft SQL Server, Amazon Aurora, Apache Doris, Apache DataFusion, Polars, Umbra, CedarDB, Hyper, Exasol, Firebolt, Databend, MotherDuck, Tinybird, Hydrolix, Velox, chDB, pg_duckdb, ParadeDB, Hologres, ByConity, CrateDB, MonetDB, Kinetica, HeavyAI, TDengine, YDB, Daft, GlareDB, Sail, about 100 further engines and variants

    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

    DuckDB Labs · · db-benchmark (DuckDB Labs fork of H2O.ai db-benchmark) · Analytics (OLAP)

    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.

    Systems: DuckDB, ClickHouse, Apache Spark SQL, Polars, Apache DataFusion, chDB (embedded ClickHouse)

    12 results reproduced · data license MPL-2.0 · verified

  • db-benchmark group-by on 100 million rows (c6id.4xlarge), November 2026 snapshot

    DuckDB Labs · · db-benchmark (DuckDB Labs fork of H2O.ai db-benchmark) · Analytics (OLAP)

    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.

    Systems: DuckDB, ClickHouse, Apache Spark SQL, Polars, Apache DataFusion, chDB (embedded ClickHouse)

    12 results reproduced · data license MPL-2.0 · verified

  • db-benchmark joins on 1 billion rows (c6id.metal), November 2026 snapshot

    DuckDB Labs · · db-benchmark (DuckDB Labs fork of H2O.ai db-benchmark) · Analytics (OLAP)

    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.

    Systems: DuckDB, ClickHouse, Polars

    6 results reproduced · data license MPL-2.0 · verified

  • db-benchmark joins on 100 million rows (c6id.4xlarge), November 2026 snapshot

    DuckDB Labs · · db-benchmark (DuckDB Labs fork of H2O.ai db-benchmark) · Analytics (OLAP)

    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.

    Systems: DuckDB, ClickHouse, Apache Spark SQL, Polars, chDB (embedded ClickHouse)

    9 results reproduced · data license MPL-2.0 · verified

  • JSONBench: analytics over 1 billion Bluesky JSON events (link only)

    ClickHouse, Inc. · · JSONBench · Analytics (OLAP)

    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.

    Systems: ClickHouse, DuckDB, PostgreSQL, MongoDB, Elasticsearch, StarRocks, SingleStore, Apache Doris, GreptimeDB, VictoriaLogs, file-format baselines (raw JSON, gzip, lz4, zstd)

    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)

    Tiger Data (formerly Timescale) · · RTABench · Analytics (OLAP)

    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.

    Systems: TimescaleDB, ClickHouse, DuckDB, PostgreSQL, MySQL, MongoDB, Tiger Cloud, ClickHouse Cloud, Apache Doris

    Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified

Sources

Last verified:

  1. duckdb.org/2026/11/20/announcing-duckdb-201 duckdb.org
  2. duckdb.org/2026/10/21/announcing-duckdb-200 duckdb.org
  3. github.com/duckdb/duckdb github.com
  4. github.com/duckdb/duckdb/blob/main/LICENSE github.com
  5. en.wikipedia.org/wiki/DuckDB en.wikipedia.org
  6. duckdb.foundation duckdb.foundation
  7. duckdb.org/2026/08/26/ducklabs-to-join-aws duckdb.org
  8. ducklabs.com ducklabs.com

Found an error? See how to report a correction.