arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.02290cs.DBcs.PL
收藏

关系型电子匹配

Relational E-Matching

Yihong Zhang, Yisu Remy Wang, Max Willsey, Zachary Tatlock

摘要:

我们提出了一种新的方法,电子匹配的关系连接的基础上,特别是,我们最近的数据库查询执行技术,以保证最坏情况下的最佳运行时间。传统的回溯方法,总是搜索的电子图“自上而下”相比,我们的新的关系电子匹配方法可以更好地利用模式结构,根据优化的查询计划搜索的电子图。我们还建立了第一个数据复杂性的结果,电子匹配,边界运行时间作为电子图的大小和输出大小的函数。我们在最先进的egg e-graph框架中对我们的技术进行了原型化和评估。与传统的基线相比,关系电子匹配更容易实现,并且在实践中更快。

英文摘要:

We present a new approach to e-matching based on relational join; in particular, we apply recent database query execution techniques to guarantee worst-case optimal run time. Compared to the conventional backtracking approach that always searches the e-graph "top down", our new relational e-matching approach can better exploit pattern structure by searching the e-graph according to an optimized query plan. We also establish the first data complexity result for e-matching, bounding run time as a function of the e-graph size and output size. We prototyped and evaluated our technique in the state-of-the-art egg e-graph framework. Compared to a conventional baseline, relational e-matching is simpler to implement and orders of magnitude faster in practice.

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

↑