首页> 外文期刊>International journal of computer science and network security >TJP: A Modified Twig Join Algorithm Based on the Pri-order Labeling Scheme
【24h】

TJP: A Modified Twig Join Algorithm Based on the Pri-order Labeling Scheme

机译:TJP:一种基于优先顺序标记方案的改进的小枝联接算法

获取原文
           

摘要

XML exploits a tree-structured data model for representing data, and XML queries specify patterns of selection predicates on multiple elements related by a tree structure. Finding all occurrences of such a twig pattern in an XML database is a core operation for XML query processing. A lot of algorithms have been proposed to process to XML twig pattern query based-on region labeling scheme, which can not support the updating of XML documents. In this paper, a new twig join algorithm TJP is proposed, for matching an XML query twig pattern, it is modification of TwigStackList based on a new labeling scheme. This labeling scheme is optimal to determine the relationships between nodes and can support efficiently dynamic updating of documents. TJP uses a list to cache some elements in input data streams; the length of list is not longer than that of the longest path in the XML documents. It is important technique for lists of branching nodes; we preserve the elements in list only when they contribute to the final query results. The algorithm is I/O and CPU optimal for queries with ancestor-descendant edge. When the twig pattern contains parent-child relationships below branching nodes, the algorithm TJP will get a much smaller set of intermediate results than previous join algorithms.
机译:XML利用树形结构的数据模型来表示数据,XML查询在与树形结构相关的多个元素上指定选择谓词的模式。在XML数据库中查找所有出现的这种树枝模式是XML查询处理的核心操作。提出了许多基于区域标注方案的XML树枝模式查询处理算法,这些算法无法支持XML文档的更新。本文提出了一种新的Twig联接算法TJP,它是为匹配XML查询的Twig模式而设计的,它是基于新的标记方案对TwigStackList的修改。此标记方案是确定节点之间关系的最佳选择,可以有效地支持文档的动态更新。 TJP使用列表在输入数据流中缓存某些元素。列表的长度不大于XML文档中最长路径的长度。这是分支节点列表的重要技术。仅当元素对最终查询结果有贡献时,我们才将它们保留在列表中。该算法对于具有祖先后沿的查询是I / O和CPU最佳选择。当树枝模式在分支节点下包含父子关系时,与以前的联接算法相比,算法TJP将获得更少的中间结果集。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号