๐Ÿฆ†

DuckDB

DuckDB is a free, open-source embedded analytical database built and maintained by the DuckDB Foundation and a large community of contributors โ€” often described as "SQLite for analytics." It ranks #21 in real-world database usage at roughly 3.3% adoption, and it keeps growing because it runs directly inside a Python or R process with zero server to set up, making it a favorite for fast local data analysis.

๐Ÿ“ Quick facts
Type: Embedded analytical database (OLAP)
Made by: DuckDB Foundation & open-source community
License: Free, open-source (MIT)
Hosting: Embedded โ€” runs in-process, no server required
Primary use case: Fast analytical queries directly over local files (CSV, Parquet, JSON)
Jump to: Example queryGetting startedBest for

Example query

DuckDB's signature trick: you can run SQL directly against a file on disk โ€” no import step, no schema setup โ€” and it's optimized to make that fast even on large Parquet files.

SELECT region, SUM(revenue) AS total_revenue
FROM 'sales_2026.parquet'
WHERE order_date >= '2026-01-01'
GROUP BY region
ORDER BY total_revenue DESC; -- reads the Parquet file directly, no loading step

Getting started

DuckDB installs as a single library โ€” most people reach it through Python or R, or the standalone CLI for quick exploration.

# install the Python package
pip install duckdb

# or grab the standalone CLI and query a file immediately
duckdb
D SELECT * FROM 'data.csv' LIMIT 10;
๐ŸŽฏ Best for โ€” local data science and analytics work: notebooks, ETL scripts, and dashboards that need to crunch millions of rows from CSV or Parquet files fast, without ever standing up a database server.