Abstract: Multiway spatial joins are a commonly occurring and fundamental type of query for spatial data processing. This article presents models and algorithms to schedule this type of query in distributed database systems while attempting to strike a balance between makespan and communication costs. We propose three algorithms based on combinatorial optimization methods: the well-known linear relaxation technique of rounding a solution generated by linear programming (LP), a more sophisticated Lagrangian Relaxation method (LR), as well as a greedy heuristic (GR) for baseline comparison. Our evaluation shows that a schedule built using GR consumes, on average, 22% more processing and communication resources than a more elaborate schedule constructed via the LR method, when scheduling a query for 64 machines. The schedule provided by LR is also, on average, an order of magnitude closer to the optimal schedule for a query compared to GR. We show that scheduling GB-size multiway queries before execution can reduce its processing time by an order of magnitude compared to state-of-the-art frameworks for spatial data processing that do not have this capability, and can significantly reduce the amount of shuffled data in the network.

Keywords: Multiway Spatial Join; Distributed Query Scheduling; Lagrangian Relaxation.

Download paper

Citation: Thiago Borges de Oliveira; Fábio M. Costa; Les R. Foulds; Humberto J. Longo. Scheduling distributed multiway spatial join queries: optimization models and algorithms. International Journal of Geographical Information Science, 37(6), 1388--1419, 2023. DOI: 10.1080/13658816.2023.2170380

Copy citation in bibtex format.