Mathematics (Sep 2022)

Performance Evaluation of Query Plan Recommendation with Apache Hadoop and Apache Spark

  • Elham Azhir,
  • Mehdi Hosseinzadeh,
  • Faheem Khan,
  • Amir Mosavi

DOI
https://doi.org/10.3390/math10193517
Journal volume & issue
Vol. 10, no. 19
p. 3517

Abstract

Read online

Access plan recommendation is a query optimization approach that executes new queries using prior created query execution plans (QEPs). The query optimizer divides the query space into clusters in the mentioned method. However, traditional clustering algorithms take a significant amount of execution time for clustering such large datasets. The MapReduce distributed computing model provides efficient solutions for storing and processing vast quantities of data. Apache Spark and Apache Hadoop frameworks are used in the present investigation to cluster different sizes of query datasets in the MapReduce-based access plan recommendation method. The performance evaluation is performed based on execution time. The results of the experiments demonstrated the effectiveness of parallel query clustering in achieving high scalability. Furthermore, Apache Spark achieved better performance than Apache Hadoop, reaching an average speedup of 2x.

Keywords