DuckDB Internals: Why is DuckDB Fast? (Part 1)

A vendor blog post explaining how DuckDB turns SQL into a plan and stores data.

Author
Kyle Cheung, Co-founder and CEO, Greybeam
Published
4 May 2026
Kind
Company blog post, first of a three-part explainer
Original
www.greybeam.ai/blog/duckdb-internals-part-1
Subject
Databases and storage
Themes
Close to the machine, Getting good

What it is

Kyle Cheung explains why DuckDB is fast, following a query from SQL to storage. Execution is left to later parts.

What it says

What evidence it gives

The post explains by description, small code and plan examples, and references to papers. It gives no timing tests of its own. It states that the optimization phase usually finishes in about a millisecond.

Interests and limits

The author runs Greybeam, which uses DuckDB and sells a multi-engine router. The post does not compare DuckDB against other engines. Execution is deferred to later parts.