Out-of-Core Parallel Spatial Join Outperforming In-Memory Systems: A BFS-DFS Hybrid Approach
Spatial join is a fundamental operation in many applications such as geographic information system (GIS) and simulation sciences. Recent works advocate in-memory spatial join for efficiency, but they require entire datasets to be loaded into memory, and they were only tested on small to medium-sized datasets. In this paper, we target out-of-core parallel spatial join to handle massive data, and surprisingly, we find that our solution can be orders of magnitude faster than the state-of-the-art in-memory solutions. Our system, called T-Spatial, decomposes a spatial-join job into tasks to expose massive parallelism opportunities. A BFS-DFS hybrid execution model is designed to enable memory-bounded high-throughput task processing, which exploits spatial locality to reuse cached data as much as possible to reduce disk IOs. T-Spatial also effectively overlaps computations with disk IOs by prefetching, and integrates a few optimization techniques including work stealing to avoid stragglers, write contention mitigation under multithreading, and a NUMA-aware design. Extensive experiments show that T-Spatial significantly outperforms state-of-the-art in-memory approaches (e.g., PBSM, TOUCH) and cloud-based parallel spatial systems (e.g., Apache Sedona) with 2–3 orders of magnitude of speedup ratio, and it is the first in the literature to test spatial joins on billion-scale datasets.
Authors
- Lyuheng Yuan (ORCID: https://orcid.org/0000-0002-4374-8161)
- Yang Zhou (ORCID: https://orcid.org/0000-0001-7839-4933)
- Saugat Adhikari (ORCID: https://orcid.org/0000-0002-7846-2200)
- Da Yan (ORCID: https://orcid.org/0000-0002-4653-0408)
- Akhlaque Ahmad (ORCID: https://orcid.org/0000-0001-6988-5335)
- Jiao Han
Institutions
- Indiana University Bloomington (US)
- Auburn University (US)
Publication Details
- Published
- 2025-07-20
- DOI
- https://doi.org/10.1145/3731545.3731572
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00