-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Milestone
Description
SedonaDB's SpatialJoinExec currently buffers the entire build side, builds a single in-memory R-tree, and streams the probe side. This approach works well when the build side and its index fit in memory but fails with memory reservation failures or OOM errors for large datasets.
We propose introducing a spatial-partitioned out-of-core execution path that keeps memory usage bounded by:
- Partitioning the build side into disjoint partitions that each fit in memory.
- Building one in-memory R-tree per partition and probing it before moving to the next partition.
The design intentionally mirrors hybrid/grace hash join but adapts it to SedonaDB’s spatial join requirements.
jiayuasu, nullbutt, 2010YOUY01 and paleolimbot
Metadata
Metadata
Assignees
Labels
No labels