Tag

#dataframes

Databases

DuckDB vs Polars: one query, two engines, three benchmarks with three different winners

In the Polars team's own benchmark, one setting took Polars from 152 seconds to 24 at scale factor 100, and DuckDB still finished first at 19.7. What actually differs between an in-process SQL database and a DataFrame library: lazy plans, memory, Polars 2's streaming default, Arrow interop, and what each benchmark (and who runs it) really shows.