Skip to content
DuckDB v1.3.0: The Spatial Join Breakthrough — From Nested Loops to an On-the-Fly R-tree episode artwork

Aug 25, 2025 4 min

DuckDB v1.3.0: The Spatial Join Breakthrough — From Nested Loops to an On-the-Fly R-tree

from Intellectually Curious Hosted by Mike Breault

Spatial joins connect data by location. In this episode we unpack DuckDB's v1.3.0 dedicated spatial join operator, how it builds an in‑memory R-tree and buffers the smaller table to probe it efficiently, and why this yields dramatic speedups (e.g., a 58M-row join against 310 neighborhoods dropping from ~30 minutes to under 30 seconds). We trace the journey from brute-force nested-loop to IE-join optimizations with bounding boxes, discuss current limits and ongoing work (larger-than-memory builds, more parallelism), and highlight implications for geospatial analysis. Note: This podcast was AI-generated, and sometimes AI can make mistakes. Please double-check any critical information. Sponsored by Embersilk LLC

Episode details come from the podcast's RSS feed.

Embed this episode

Spatial joins connect data by location. In this episode we unpack DuckDB's v1.3.0 dedicated spatial join operator, how it builds an in‑memory R-tree and buffers the smaller table to probe it efficiently, and why this yields dramatic speedups (e.g., a 58M-row join against 310 neighborhoods dropping from ~30 minutes to under 30 seconds). We trace the journey from brute-force nested-loop to IE-join optimizations with bounding boxes, discuss current limits and ongoing work (larger-than-memory bui...

Ready to play

DuckDB v1.3.0: The Spatial Join Breakthrough — From Nested Loops to an On-the-Fly R-tree

0:00 4:48

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Intellectually Curious?

This episode is 4 minutes long.

When was this Intellectually Curious episode published?

This episode was published on August 25, 2025.

Can I download this Intellectually Curious episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.