Polars 2.0 beats DuckDB 2.0 on 286GB FineWeb-Edu filter, but OOMs on low-memory boxes

vanstriendaniel · x · 2026-10-22

A default-settings benchmark comparing Polars 2.0 and DuckDB 2.0 filtering 286 GB (97M rows) of FineWeb-Edu on Hugging Face Jobs, with scripts and job logs published.

Results:

Takeaway: Polars 2.0 wins on big-memory machines; DuckDB is the safer choice on low-memory instances. Both engines returned identical outputs (174,063 rows), making the comparison solid.

Related event: Polars 2.0 Beats DuckDB 2.0 in 286GB Filtering Benchmark(2 posts)→

Original post →

More from coding & agent

coding & agent channel →