Optimization of Row Pattern Matching over Sequence Data in Spark SQL
Optimization of Row Pattern Matching over Sequence Data in Spark SQL
复制标题
Spark SQL 中序列数据行模式匹配的优化
DOI:
10.1007/978-3-030-27615-7_1
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Nasu Yuya
中科院分区:
文献类型:
--
作者:
Nakabasami Kosuke;Kitagawa Hiroyuki;Nasu Yuya
Due to the advance of information and communications technology and sensor technology, a large quantity of sequence data (time series data, log data, etc.) are generated and processed every day. Row pattern matching for the sequence data stored in relational databases was standardized as SQL/RPR in 2016. Today, in addition to relational databases, there are many frameworks for processing a large amount of data in parallel and distributed computing environments. They include MapReduce and Spark. Hive and Spark SQL enable us to code data analysis processes in SQL-like query languages. Row pattern matching is also beneficial in Hive and Spark SQL. However, computational cost of the row pattern matching process is large and it is needed to make this process efficient. In this paper, we propose two optimization methods to realize the reduction of computational cost for row pattern matching process. We focus on Spark and show design and implementation of the proposed methods for Spark SQL. We verify by the experiments that our optimization methods really contribute to the reduction of the processing time of Spark SQL queries including row pattern matching.