【24h】

Supporting Top-k Join Queries in Relational Databases

机译:在关系数据库中支持Top-k联接查询

获取原文
获取原文并翻译 | 示例

摘要

Ranking queries produce results that are ordered on some computed score. Typically, these queries involve joins, where users are usually interested only in the top-k join results. Current relational query processors do not handle ranking queries efficiently, especially when joins are involved. In this paper, we address supporting top-k join queries in relational query processors. We introduce a new rank-join algorithm that makes use of the individual orders of its inputs to produce join results ordered on a user-specified scoring function. The idea is to rank the join results progressively during the join operation. We introduce two physical query operators based on variants of ripple join that implement the rank-join algorithm. The operators are non-blocking and can be integrated into pipelined execution plans. We address several practical issues and optimization heuristics to integrate the new join operators in practical query processors. We implement the new operators inside a prototype database engine based on PREDATOR. The experimental evaluation of our approach compares recent algorithms for joining ranked inputs and shows superior performance.
机译:排名查询产生的结果按某些计算得分排序。通常,这些查询涉及联接,其中用户通常仅对前k个联接结果感兴趣。当前的关系查询处理器不能有效地处理排名查询,尤其是在涉及联接时。在本文中,我们解决了在关系查询处理器中支持top-k联接查询的问题。我们引入了一种新的秩联接算法,该算法利用其输入的各个顺序来生成按用户指定的评分函数排序的联接结果。想法是在联接操作期间逐步对联接结果进行排名。我们介绍了两个基于涟漪连接变体的物理查询运算符,这些变体实现了秩连接算法。操作员是非阻塞的,可以集成到流水线执行计划中。我们解决了一些实际问题和优化启发,以将新的联接运算符集成到实际的查询处理器中。我们在基于PREDATOR的原型数据库引擎中实现了新的运算符。对我们的方法进行的实验评估比较了最新算法以加入排名输入,并显示了卓越的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号