DuckDB
- Problem solved: run fast OLAP analytics locally, inside the application's process, with no server to deploy.
- Era: prototype in 2018 at CWI, version 0.1 presented at SIGMOD 2019 (Amsterdam), 1.0.0 on June 3, 2024, 2.0.0 LTS on October 21, 2026.
- Publisher: DuckDB Foundation (nonprofit, holds the intellectual property) and DuckLabs, formerly DuckDB Labs, part of AWS since September 1, 2026 (non-Apache project, MIT license).
- Category: in-process analytical database.
- Created by: Mark Raasveldt and Hannes Mühleisen, researchers at the Centrum Wiskunde & Informatica (CWI) in Amsterdam.
Historical context
In the late 2010s, SQLite is everywhere: the DuckDB paper mentions "more than a trillion databases in active use". But SQLite is designed for transactions, with a row-by-row engine on B-Trees, and "SQLite's performance on analytical (OLAP) workloads is very poor". For analytics, you need a server (a warehouse, a Spark cluster) or have to make do with pandas in memory.
Mark Raasveldt and Hannes Mühleisen work in the Database Architectures group at CWI, the lab that produced MonetDB and vectorized execution in 2005. They had already embedded MonetDB once (MonetDBLite, used from the Dutch central bank to the New Zealand police). Their diagnosis fits in a matrix: "the quadrant for the combination of OLAP and in-process remained empty". In 2018, they start a prototype.
DuckDB is open source from day one. In 2019, version 0.1 is presented at SIGMOD in Amsterdam, with a demonstration titled "DuckDB: an Embeddable Analytical Database". Adoption follows quickly: about 100,000 downloads per week in 2021. On July 14, 2021, the two researchers create DuckDB Labs, a CWI spin-off without venture capital, then the DuckDB Foundation, which holds the project's intellectual property.
In 2022, DuckDB Labs partners with MotherDuck, a start-up building a cloud service on DuckDB. Version 1.0.0 ships in June 2024 with a stable storage format. Then come DuckLake (a lakehouse format, 2025), the Quack client-server protocol (2026), the rename to DuckLabs, and the announcement, on August 26, 2026, that AWS is acquiring DuckLabs. The project stays MIT-licensed, under the Foundation's stewardship.
Key idea
The "SQLite of analytics": a library you embed in your program (Python, R, C/C++, CLI...), with no server or external dependency, but with a vectorized columnar engine built for OLAP. DuckDB directly reads Parquet, CSV or Arrow, pandas and Polars tables.
How it works
- In-process: the database lives in the host process, which demands great robustness: if it crashes, it takes the application down with it.
- Parser derived from PostgreSQL's (libpg_query), then a cost-based optimizer.
- Interpreted vectorized execution: a "Vector Volcano" model, operators exchange vectors of 1024 values. Interpretation was chosen over JIT compilation for portability, and the code uses no explicit SIMD instructions.
- Transactions: serializable MVCC based on HyPer's variant.
- Storage: a single file, split into blocks carrying min/max indexes per column to skip irrelevant blocks. Contrary to a common misconception, it is not an in-memory database.
- Extensions: formats, connectors and functions are loaded on demand.
import duckdb
con = duckdb.connect() # in-memory database, inside the Python process
con.sql("""
SELECT country, sum(amount) AS total
FROM 'sales/*.parquet'
GROUP BY country
ORDER BY total DESC
""").show()
By the numbers
| Figure | Context | Source |
|---|---|---|
| 1024 | Default size of the vectors exchanged between operators (2019) | SIGMOD 2019 paper |
| About 100,000 | Downloads per week when DuckDB Labs was created (July 2021) | CWI |
| 2 million | Downloads per month, two years later (May 2023) | CWI |
| 47.5M$ | MotherDuck funding, including 35M$ from Andreessen Horowitz (November 2022) | CWI |
| Over 300,000 | Lines of C++ engine code at 1.0.0 (June 2024) | DuckDB blog, 1.0.0 |
| Over 4 TB per day | Download traffic for extensions alone (June 2024) | DuckDB blog, 1.0.0 |
| Over 1 million | Downloads per day (May 2026) | DuckLabs blog |
| Over 30 | Full-time DuckLabs employees in Amsterdam (May 2026) | DuckLabs blog |
Milestones
- 2018: Mark Raasveldt and Hannes Mühleisen start DuckDB at CWI.
- 2019: DuckDB 0.1 announced at SIGMOD in Amsterdam (demonstration paper).
- July 14, 2021: DuckDB Labs is created as a CWI spin-off; the DuckDB Foundation follows the same year.
- November 15, 2022: long-term partnership between DuckDB Labs and MotherDuck.
- February 2024: v0.10.0, backward compatibility of the storage format.
- June 3, 2024: DuckDB 1.0.0, codename "Snow Duck".
- April 13, 2026: DuckLake 1.0, a lakehouse format whose catalog lives in a SQL database and data in Parquet.
- May 27, 2026: DuckDB Labs becomes DuckLabs.
- August 26, 2026: AWS's acquisition of DuckLabs is announced, effective September 1.
- October 21, 2026: DuckDB 2.0.0 LTS, the project's biggest release so far.
Did you know?
- A duck's name: "DuckDB comes from my late pet duck Wilbur", Hannes Mühleisen told CWI in 2023. In an interview [S], he explains he chose a duck because he lives with his family on a historic sailing ship in the center of Amsterdam.
- Why a duck: the official FAQ answers that ducks can fly, walk and swim, and "can also live off pretty much everything".
- Open source on principle: "We find it unethical to make proprietary software based on taxpayer funded research", say the founders, whose research was publicly funded.
- Portable thanks to no explicit SIMD: according to the FAQ, porting DuckDB to Apple Silicon took 10 minutes.
Strengths and limitations
| Strengths | Limitations |
|---|---|
| Very fast locally, no server | Designed for a single machine (tested on 100+ cores) |
| Reads Parquet, CSV and Arrow directly | Not a multi-user warehouse; client-server protocol only since the Quack preview (May 2026) |
| Excellent for exploration and notebooks | Limited concurrent writes |
| Storage format stable since 2024 | Does not use Arrow internally (conversion on exchange) |
Where it fits
- Local complement to distributed engines such as Trino or Spark: query a data lake from your laptop.
- A cousin of Polars (DataFrames) and of DataFusion (embeddable Rust engine), to which it is compared in DataFusion's SIGMOD 2024 paper.
- With DuckLake, it also enters the field of lakehouse table formats, next to Iceberg and Delta Lake.
Sources
raw-data/ecosysteme/duckdb/duckdb.md- https://dl.acm.org/doi/10.1145/3299869.3320212
- https://duckdb.org/history/
- https://duckdb.org/faq
- https://duckdb.org/2024/06/03/announcing-duckdb-100.html
- https://duckdb.org/2026/08/26/ducklabs-to-join-aws
- https://ducklabs.com/news/2026/08/26/ducklabs-to-join-aws
- https://ducklabs.com/news/2026/05/27/duckdb-labs-becomes-ducklabs
- https://ducklabs.com/news/2022/11/15/motherduck-partnership
- https://www.cwi.nl/en/news/cwi-spin-off-company-duckdb-labs-provides-solutions-for-fast-database-analytics/
- https://www.cwi.nl/en/stories/duckdb-introducing-a-new-class-of-data-management-systems/
- https://www.cwi.nl/en/news/cwi-spin-off-duckdb-labs-partners-with-motherduck-who-raises-47-5-million-1/
- https://motherduck.com/blog/announcing-series-seed-and-a/
- https://aws.amazon.com/blogs/big-data/aws-and-ducklabs-building-the-future-of-analytics-together/
- https://www.bigdatawire.com/2024/12/06/meet-hannes-muhleisen-a-2024-bigdatawire-person-to-watch/ [S]
- Amount of AWS's acquisition of DuckLabs (not published in the sources read).
- Exact incorporation date of the DuckDB Foundation ("later that year", 2021).
- Detail the Arrow integration and the main extensions (httpfs, iceberg).
- List the detailed content of 2.0.0 LTS from its release notes.
- Source the limit on concurrent writes (carried over from the previous version of the page).