首页> 外文期刊>IEEE Transactions on Knowledge and Data Engineering >Path signatures: a way to speed up recursion in relational databases
【24h】

Path signatures: a way to speed up recursion in relational databases

机译:路径签名:一种加快关系数据库中递归的方法

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

摘要

Composite objects often involve recursive relationships, so-called bills-of-materials, which are cumbersome to handle in relational database systems. The relationships constitute a directed graph, where the successors of a node represent its components, recursively. Instead of the whole transitive closure (all ancestor-descendant pairs), the task is to retrieve the descendants of any given node. A simple relational solution is suggested, which packs information of the ancestor path of each node into a fixed-length code, called the signature. The code is nonunique, and its purpose is to define a relatively small superset of the descendants, as well as to establish a basis for clustering. It supports effective retrieval of the descendants, in terms of both disk accesses and DBMS calls. The method performs best for tree-structured graphs, where the processing time typically decreases by a factor of more than 10, compared to a simple loop of joins. Also, general directed graphs, both acyclic and cyclic, can be processed more effectively. The method is implemented on top of a relational system, but advantages can be gained on other platforms, too.
机译:组合对象通常涉及递归关系,即所谓的物料清单,这些关系在关系数据库系统中难以处理。这些关系构成一个有向图,其中节点的后继者递归地表示其组件。代替整个传递闭包(所有祖先-后代对),任务是检索任何给定节点的后代。提出了一种简单的关系解决方案,该解决方案将每个节点的祖先路径的信息打包为一个固定长度的代码,称为签名。该代码不是唯一的,其目的是定义一个相对较小的后代超集,并为聚类建立基础。它在磁盘访问和DBMS调用方面都支持对子代的有效检索。该方法对树状结构图表现最佳,与简单的联接循环相比,树状图的处理时间通常减少10倍以上。同样,可以更有效地处理非有环图和有环图的一般有向图。该方法是在关系系统之上实现的,但是在其他平台上也可以获得优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号