...
首页> 外文期刊>Journal of computer and system sciences >Memory lower bounds for XPath evaluation over XML streams
【24h】

Memory lower bounds for XPath evaluation over XML streams

机译:通过XML流进行XPath评估的内存下限

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

摘要

We consider the XPath evaluation problem: Evaluate an XPath query Q on a streaming XML document D. We consider two versions of the problem: 1) Filtering Problem: Determine if there is a match for Q in D. 2) Node Selection Problem: Determine the set Q(D) of document nodes selected by Q. We consider Conjunctive XPath {CXPath) queries that involve only the child and descendant axes. Let d denote the depth of D, and n denote the number of location steps in Q. Bar-Yossef et al. (2007, 2005) [6,7) presented lower bounds on the memory space required by any algorithm to solve these two problems. Their lower bounds apply to each query in a large subset of XPath, and are obtained (mostly) using nonrecursive (Q,D). In this paper, we present larger lower bounds for a different class of queries (namely, CXPath queries with independent predicates), on recursive (Q, D). One of our results is an Ω(nmaxcands(Q, D)) lower bound for the node selection problem, for a worst-case Q; maxcands(Q, D) is the maximum number of nodes of D that can be candidates for output, at any one instant. So, there is no algorithm for the node selection problem that uses O(f(d, |Q|) + maxcands(Q, D)) space, for any function f. This shows that some previously published algorithms are incorrect.
机译:我们考虑XPath评估问题:在流XML文档D上评估XPath查询Q。我们考虑问题的两个版本:1)过滤问题:确定D中是否存在Q匹配项。2)节点选择问题:确定Q选择的文档节点的集合Q(D)。我们考虑仅涉及子轴和后代轴的联合XPath {CXPath)查询。令d表示D的深度,n表示Q中的定位步骤数。Bar-Yossef等。 (2007,2005)[6,7)提出了解决任何两个问题所需的任何算法所需的存储空间下限。它们的下限适用于XPath的较大子集中的每个查询,并且(主要)使用非递归(Q,D)获得。在本文中,我们为递归(Q,D)上不同类别的查询(即具有独立谓词的CXPath查询)提供了较大的下界。我们的结果之一是对于最坏情况的Q,节点选择问题的Ω(nmaxcands(Q,D))下界。 maxcands(Q,D)是在任一时刻可以作为输出候选的D的最大节点数。因此,对于任何函数f,都没有针对节点选择问题使用O(f(d,| Q |)+ maxcands(Q,D))空间的算法。这表明某些先前发布的算法不正确。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号