DuckDB embeds in applications and the CLI to run fast OLAP SQL locally. It reads Parquet, CSV, JSON, remote object storage, and lakehouse formats without a separate database server.
Overview
DuckDB is an analytical SQL database that runs in-process inside your application or from a standalone CLI. There is no long-lived server to operate by default; the engine ships as a library with clients for Python, R, Java, Rust, Go, WebAssembly, and other environments.
The SQL dialect supports advanced analytics features such as window functions, nested correlated subqueries, collations, and complex types including arrays, structs, and maps. Friendly SQL extensions aim to shorten common analytical queries.
Data can be queried directly from files on disk or from remote endpoints including S3, HTTP, Azure, and Google Cloud Storage, with support for CSV, Parquet, JSON, Excel, Apache Iceberg, Delta Lake, and the DuckLake catalog format. DuckDB can attach to PostgreSQL, MySQL, and SQLite to join data across engines, and peers can connect via the Quack HTTP protocol when a server role is needed.
A modular extension system adds formats, functions, and connectors at runtime. The project is MIT-licensed and backed by the DuckDB Foundation, with tooling integrations for DataGrip, DBeaver, and cloud vendor workflows.
Key features
- Embedded in-process OLAP engine
- Rich SQL with windows and nested types
- Direct queries on Parquet and CSV files
- Remote S3 and HTTP table reads
- Iceberg, Delta Lake, and DuckLake support
- Attach PostgreSQL, MySQL, and SQLite
- Language APIs and standalone CLI
- Loadable extensions for formats and functions
Use cases
- Local analytics on parquet datasets
- Joining warehouse files without ETL
- Embedding SQL analytics in Python apps