A learning-based framework for spatial join processing: estimation, optimization and tuning

Tin Vu, Alberto Belussi, Sara Migliorini, Ahmed Eldawy
{"title":"A learning-based framework for spatial join processing: estimation, optimization and tuning","authors":"Tin Vu, Alberto Belussi, Sara Migliorini, Ahmed Eldawy","doi":"10.1007/s00778-024-00836-1","DOIUrl":null,"url":null,"abstract":"<p>The importance and complexity of spatial join operation resulted in the availability of many join algorithms, some of which are tailored for big-data platforms like Hadoop and Spark. The choice among them is not trivial and depends on different factors. This paper proposes the first machine-learning-based framework for spatial join query optimization which can accommodate both the characteristics of spatial datasets and the complexity of the different algorithms. The main challenge is how to develop portable cost models that once trained can be applied to any pair of input datasets, because they are able to extract the important input characteristics, such as data distribution and spatial partitioning, the logic of spatial join algorithms, and the relationship between the two input datasets. The proposed system defines a set of features that can be computed efficiently for the data to catch the intricate aspects of spatial join. Then, it uses these features to train five machine learning models that are used to identify the best spatial join algorithm. The first two are regression models that estimate two important measures of the spatial join performance and they act as the cost model. The third model chooses the best partitioning strategy to use with spatial join. The fourth and fifth models further tune two important parameters, number of partitions and plane-sweep direction, to get the best performance. Experiments on large-scale synthetic and real data show the efficiency of the proposed models over baseline methods.</p>","PeriodicalId":501532,"journal":{"name":"The VLDB Journal","volume":"166 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The VLDB Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1007/s00778-024-00836-1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The importance and complexity of spatial join operation resulted in the availability of many join algorithms, some of which are tailored for big-data platforms like Hadoop and Spark. The choice among them is not trivial and depends on different factors. This paper proposes the first machine-learning-based framework for spatial join query optimization which can accommodate both the characteristics of spatial datasets and the complexity of the different algorithms. The main challenge is how to develop portable cost models that once trained can be applied to any pair of input datasets, because they are able to extract the important input characteristics, such as data distribution and spatial partitioning, the logic of spatial join algorithms, and the relationship between the two input datasets. The proposed system defines a set of features that can be computed efficiently for the data to catch the intricate aspects of spatial join. Then, it uses these features to train five machine learning models that are used to identify the best spatial join algorithm. The first two are regression models that estimate two important measures of the spatial join performance and they act as the cost model. The third model chooses the best partitioning strategy to use with spatial join. The fourth and fifth models further tune two important parameters, number of partitions and plane-sweep direction, to get the best performance. Experiments on large-scale synthetic and real data show the efficiency of the proposed models over baseline methods.

Abstract Image

基于学习的空间连接处理框架:估计、优化和调整
空间连接操作的重要性和复杂性导致了许多连接算法的出现,其中一些是为 Hadoop 和 Spark 等大数据平台量身定制的。在这些算法中做出选择并非易事,而且取决于不同的因素。本文提出了第一个基于机器学习的空间连接查询优化框架,它既能适应空间数据集的特点,又能适应不同算法的复杂性。主要的挑战在于如何开发可移植的成本模型,这些模型一旦经过训练就能应用于任何一对输入数据集,因为它们能够提取重要的输入特征,如数据分布和空间分区、空间连接算法的逻辑以及两个输入数据集之间的关系。建议的系统定义了一组可有效计算数据的特征,以捕捉空间连接的复杂方面。然后,它利用这些特征来训练五个机器学习模型,用于识别最佳的空间连接算法。前两个模型是回归模型,用于估算空间连接性能的两个重要指标,它们是成本模型。第三个模型选择与空间连接一起使用的最佳分区策略。第四和第五个模型进一步调整两个重要参数,即分区数量和平面扫描方向,以获得最佳性能。在大规模合成数据和真实数据上的实验表明,与基线方法相比,所提出的模型非常高效。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信