2022 IEEE 38th International Conference on Data Engineering (ICDE) · 2022 · 13 citations · 32 references
ComputingComputer ScienceInformation TechnologyBig Data AnalyticsDatabasesMachine LearningDatabase ManagementDeep LearningMachine Learning For Big DataQuery OptimizationQuery ProcessingStructured Query LanguageAttention MechanismsCost ModelsCost Prediction ModelsDeep Learning For Big DataExecution PlansExecution Time EstimationExecution Time PredictionQuery Execution
The efficiency of query processing is highly affected by execution plans and allocated resources in the Spark SQL big data processing engine. However, the cost models for Spark SQL are still based on hand-crafted rules. The learning-based cost models have been proposed for relational databases, but it does not consider the effect of the available resources. To address this, we propose a resource-aware deep learning model that can automatically predict the execution time of query plans based on historical data. To train our model, we embed the query execution plans based on the query plan tree and extract features from the allocated resources. A deep learning model with adaptive attention mechanisms is then trained to predict the execution time of query plans. The experiments show that our deep cost model can achieve higher accuracy in predicting the execution time of query plans compared to traditional rule-based methods and relational database learning-based optimizers.
32
Sepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 98.1K citations
Spark: cluster computing with working sets
Matei Zaharia, Mosharaf Chowdhury, Michael J. Franklin et al. · 2010 · 4.2K citations
Michael Armbrust, Reynold Xin, Cheng Lian et al. · 2015 · 1.2K citations