SOLAR: Scalable Distributed Spatial Joins Through Learning-Based Optimization
Yongyi Liu, Ahmed Abdelmaguid, Ahmed R. Mahmood, Amr Magdy, Minyao Zhu
Abstract
The proliferation of location-based services has led to massive spatial data generation. Spatial join is a crucial database operation that identifies pairs of objects from two spatial datasets based on spatial relationships. Due to the intensive computational demands, spatial joins are often executed in a distributed manner across clusters. However, current systems fail to recognize similarities in the partitioning of spatial data, leading to redundant computations and increased overhead. Recently, incorporating machine learning optimizations into database operations has enhanced efficiency in traditional joins by predicting optimal strategies. However, applying these optimizations to spatial joins poses challenges due to the complex nature of spatial relationships and the variability of spatial data. This paper introduces SOLAR, scalable distributed spatial joins through learning-based optimization. SOLAR operates through offline and online phases. In the offline phase, it learns balanced spatial partitioning based on the similarities between datasets in query workloads seen so far. In the online phase, when a new join query is received, SOLAR evaluates the similarity between the datasets in the new query and the already-seen workloads using the trained learning model. Then, it decides to either reuse an existing partitioner, avoiding unnecessary computational overhead, or partition from scratch. Our extensive experimental evaluation on real-world datasets demonstrates that SOLAR achieves up to 3.6X speedup in overall join runtime and 2.71X speedup in partitioning time compared to state-of-the-art systems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on6
- Reinforcement Learning with Tree-LSTM for Join Order SelectionXiang Yu, Guoliang Li, Chengliang Chai, Nan TangICDE 2020 · 168 citations
- The Case for a Learned Sorting AlgorithmAni Kristo, Kapil Vaidya, Ugur Çetintemel, Sanchit Misra et al.SIGMOD 2020 · 47 citations
- Efficient Join Order Selection Learning with Graph-based RepresentationJin Chen, Guanyu Ye, Yan Zhao, Shuncheng Liu et al.KDD 2022 · 27 citations
- The Case for Learned In-Memory JoinsIbrahim Sabek, Tim KraskaVLDB 2023 · 27 citations
- PilotScope: Steering Databases with Machine Learning DriversRong Zhu, Lianggui Weng, Wenqing Wei, Di Wu et al.VLDB 2024 · 18 citations
Related papers
- Out-of-Core Parallel Spatial Join Outperforming In-Memory Systems: A BFS-DFS Hybrid ApproachLyuheng Yuan, Da Yan, Akhlaque Ahmad, Jiao Han et al.HPDC 2025
- SOLAR: Efficient Spatial Queries on Real-Time LSM-Based StorageJingyi Yang, Jiachen Shi, Jian Chen, Gao CongICDE 2026 · 1 citation
- SwiftSpatial: Spatial Joins on Modern HardwareWenqi Jiang, Oleh-Yevhen Khavrona, Martin Parvanov, Gustavo AlonsoSIGMOD 2025 · 2 citations
- DiskJoin: Large-scale Vector Similarity Join with SSDYanqi Chen, Xiao Yan, Alexandra Meliou, Eric LoSIGMOD 2026 · 2 citations
- GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan HintsPavel Sulimov, Claude Lehmann, Kurt StockingerSIGMOD 2026 · 3 citations
