Parachute:单遍双向信息传递
Parachute: Single-Pass Bi-Directional Information Passing
AI总结:
针对现有数据库横向信息传递仅单向、实例最优算法需额外遍历的问题,本文提出Parachute方法,通过静态分析信息流阻断表与外键表预计算连接指纹列,实现单遍双向信息传递,在JOB基准上以15%额外空间显著提升DuckDB v1.2执行效率。
摘要:
横向信息传递是一种用于减轻数据库查询计划中大型构建端影响的知名技术。在当前生产系统的实现中,横向信息传递仅支持单向信息流,这与Yannakakis算法等实例最优算法不同。但另一方面,这类实例最优算法需要对输入进行额外遍历,阻碍了其在生产系统中的应用。\n本文向实现查询执行过程中的单遍双向信息传递迈出了一步。我们通过静态分析哪些表之间的信息流被阻断,以及利用外键表上预计算的连接诱导指纹列来实现这一目标。在JOB基准测试中,当允许使用15%的额外空间时,Parachute将DuckDB v1.2在无半连接过滤和有半连接过滤情况下的端到端执行时间分别提升了1.54倍和1.24倍。
英文摘要:
Sideways information passing is a well-known technique for mitigating the impact of large build sides in a database query plan. As currently implemented in production systems, sideways information passing enables only a uni-directional information flow, as opposed to instance-optimal algorithms, such as Yannakakis'. On the other hand, the latter require an additional pass over the input, which hinders adoption in production systems. In this paper, we make a step towards enabling single-pass bi-directional information passing during query execution. We achieve this by statically analyzing between which tables the information flow is blocked and by leveraging precomputed join-induced fingerprint columns on FK-tables. On the JOB benchmark, Parachute improves DuckDB v1.2's end-to-end execution time without and with semi-join filtering by 1.54x and 1.24x, respectively, when allowed to use 15% extra space.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。