arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.02785cs.DCcs.DB
收藏

Spark中Bloom过滤连接的最佳参数

Optimal parameters for bloom-filtered joins in Spark

Ophir Lojkine

摘要:

在本文中,我们提出了一个算法,连接关系数据库表有效地在分布式环境中使用的最佳大小的布隆过滤器。我们建议不使用固定大小的布隆过滤器在以前的研究中,但找到一个最佳的大小的布隆过滤器,通过创建一个数学模型的连接算法,然后使用传统的数学优化找到最佳的参数。该算法具有最佳参数,不仅在星型连接上,而且在传统的数据库模式上,都击败了使用布隆过滤器和默认SparkSQL引擎的方法。实验是在一个标准的TPC-H数据库上进行的,该数据库作为parquet文件存储在分布式文件系统上。

英文摘要:

In this paper, we present an algorithm that joins relational database tables efficiently in a distributed environment using Bloom filters of an optimal size. We propose not to use fixed-size bloom filters as in previous research, but to find an optimal size for the bloom filters, by creating a mathematical model of the join algorithm, and then finding the optimal parameters using traditional mathematical optimization. This algorithm with optimal parameters beats both previous approaches using bloom filters and the default SparkSQL engine not only on star-joins, but also on traditional database schema. The experiments were conducted on a standard TPC-H database stored as parquet files on a distributed file system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑