【24h】

A NEW ALGORITHM FOR TREE MAPPING IN XML DATABASES

机译:XML数据库中的树映射新算法

获取原文

摘要

With the growing importance of XML in data exchange, much research has been done in providing flexible query mechanisms to extract data from XML documents. A core operation for XML query processing is to find all occurrences of a twig pattern Q (or small tree) in a document T. rnor work has typically decomposed Q into binary structural relationships, such as parent-child and ancestor-descendant relations, or root-to-leaf paths, The twig matching is achieved by: (i) matching the binary relationships or paths against XML databases, and (ii) using the join algorithms to stitch together all the matching binary relation-snips or paths,. In the worst case, the time for doing joins can be exponential (in the number of query nodes or decomposed paths). In this paper, we propose a new algorithm for this task with no path joins invovled. The time rviTiSpaCe cornPlexities of the algorithm are bounded by ^WQleaf) and O(TleafQleaf), respectively, where Tleaf stands for the number of the leaf nodes in T and Qleaf for the number of the leaf nodes in Q.
机译:随着XML在数据交换中的重要性越来越重要,在提供灵活的查询机制中已经完成了许多研究,以从XML文档中提取数据。用于XML查询处理的核心操作是在文档T. RNOR工作中找到所有出现的曲线图案Q(或小树),通常将Q分解为二元结构关系,例如父母和祖先 - 后代关系,或根到叶路径,通过:(i)实现:(i)与XML数据库的二进制关系或路径匹配,并使用连接算法将所有匹配的二进制关系剪切或路径一起缝合在一起。在最坏的情况下,执行联合的时间可以是指数的(在查询节点或分解路径的数量中)。在本文中,我们为此任务提出了一种新的算法,没有路径加入。该算法的时间rvitispace曲线分别界定为^ wqleafaf)和o(tleafqleaf),其中Tleaf用于T和QLEF中的叶节点的数量,用于Q中的叶节点的数量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号