DuckDB
activeby DuckDB Foundation / DuckDB Labs · since 2019
In-process columnar SQL database: the SQLite of analytics, running inside your app or notebook.
Overview
DuckDB is an embedded analytical database that runs inside the host process (Python, R, Node, Java, the CLI or the browser via WASM) with no server to manage. Its vectorized, parallel engine queries Parquet, CSV, JSON, Iceberg and Delta files directly, plus its own single-file database format, and it routinely handles hundreds of gigabytes on a laptop. Official extensions add spatial, full-text, vector search and lakehouse formats including DuckLake. It has become the default local analytics and data-engineering tool; it is not a multi-user server and scales up, not out.
Strengths & trade-offs
Strengths
- +Zero-setup: pip install and query Parquet/CSV/JSON files in seconds
- +Vectorized, parallel engine that is very fast on a single machine
- +Reads and writes Parquet, Iceberg, Delta and DuckLake natively
- +Deep Python/pandas/Polars/Arrow integration with zero-copy exchange
- +Runs in the browser via WebAssembly
- +Permissive MIT license and stable storage format since 1.0
Trade-offs
- −Single-writer, in-process design: not a shared multi-user server
- −No horizontal scale-out; bound by one machine's CPU and disk
- −No built-in users, roles or network access control
Great for
- +Local data analysis in notebooks
- +ETL and data-engineering pipelines on files
- +Embedded analytics inside applications
- +Querying data lakes on S3 without a cluster
- +Testing and CI for warehouse SQL
- +In-browser analytics apps
Think twice for
- −Concurrent multi-user writes
- −OLTP application backends
- −Multi-petabyte distributed analytics
Capabilities
Native or official first-party support · 13 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Strict
- Architecture
- Embedded, Single node, In memory
- Query languages
- SQL (PostgreSQL-like dialect)
Single process, multi-threaded; larger-than-memory queries spill to disk. Comfortable into the low-TB range on one machine.
Deployment
Ecosystem
Alternatives to DuckDB
Serverless cloud data warehouse built on DuckDB, with hybrid local-plus-cloud execution.
duckdb vs motherduck →Embedded, in-process OLAP engine powered by ClickHouse, used mainly from Python.
duckdb vs chdb →Open-source columnar OLAP database known for very fast aggregations over billions of rows.
duckdb vs clickhouse →Extensible Rust query engine library on Apache Arrow for building databases and data systems.
duckdb vs apache-datafusion →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
duckdb vs sqlite →PostgreSQL extension that embeds DuckDB's vectorized engine for fast analytics and data-lake queries.
duckdb vs pg-duckdb →DuckDB FAQ
What is DuckDB?
DuckDB is a columnar / OLAP database by DuckDB Foundation / DuckDB Labs, first released in 2019. DuckDB is an embedded analytical database that runs inside the host process (Python, R, Node, Java, the CLI or the browser via WASM) with no server to manage. Its vectorized, parallel engine queries Parquet, CSV, JSON, Iceberg and Delta files directly, plus its own single-file database format, and it routinely handles hundreds of gigabytes on a laptop. Official extensions add spatial, full-text, vector search and lakehouse formats including DuckLake. It has become the default local analytics and data-engineering tool; it is not a multi-user server and scales up, not out.
Is DuckDB open source?
Yes. DuckDB is open source. License: MIT License.
Does DuckDB support ACID transactions?
Yes. DuckDB supports full ACID transactions, with strong consistency.
Does DuckDB scale horizontally?
DuckDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at medium scale (≤ 10 TB).
How can I run DuckDB?
You can self-host it and embed it in your application. Managed offerings include MotherDuck.
What is DuckDB best for?
DuckDB is a strong fit for local data analysis in notebooks; ETL and data-engineering pipelines on files; and embedded analytics inside applications. Think twice for concurrent multi-user writes.
What are the best alternatives to DuckDB?
Common alternatives to DuckDB include MotherDuck, chDB, ClickHouse, Apache DataFusion and SQLite. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is DuckDB?
DuckDB ranks #13 of 844 databases on the WhichDB Score (63.7/100), and #4 among columnar / OLAP databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


