首页> 外文会议>ACM SIGMOD international conference on Management of data >Efficient processing of XML twig queries with OR-predicates
【24h】

Efficient processing of XML twig queries with OR-predicates

机译:使用OR谓词高效处理XML树枝查询

获取原文

摘要

An XML twig query, represented as a labeled tree, is essentially a complex selection predicate on both structure and content of an XML document. Twig query matching has been identified as a core operation in querying tree-structured XML data. A number of algorithms have been proposed recently to process a twig query holistically. Those algorithms, however, only deal with twig queries without OR-predicates. A straightforward approach that first decomposes a twig query with OR-predicates into multiple twig queries without OR-predicates and then combines their results is obviously not optimal in most cases. In this paper, we study novel holistic-processing algorithms for twig queries with OR-predicates without decomposition. In particular, we present a merge-based algorithm for sorted XML data and an index-based algorithm for indexed XML data. We show that holistic processing is much more efficient than the decomposition approach. Furthermore, we show that using indexes can significantly improve theperformance for matching twig queries with OR-predicates, especially when the queries have large inputs but relatively small outputs.
机译:XML树枝查询(表示为带标签的树)从本质上来说是一个关于XML文档的结构和内容的复杂选择谓词。 Twig查询匹配已被确定为查询树结构XML数据的核心操作。最近已经提出了许多算法来整体地处理树枝查询。但是,这些算法仅处理没有OR谓词的细枝查询。在大多数情况下,一种直接将带有OR谓词的树枝查询分解为多个没有OR谓词的树枝查询然后组合其结果的简单方法显然在大多数情况下不是最佳的。在本文中,我们研究了带有OR谓词且无分解的小枝查询的新型整体处理算法。特别是,我们提出了一种用于排序XML数据的基于合并的算法和一种用于索引XML数据的基于索引的算法。我们证明了整体处理比分解方法更有效。此外,我们表明使用索引可以显着提高将枝查询与OR谓词匹配的性能,尤其是当查询具有较大的输入但相对较小的输出时。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号