首页> 外文期刊>ACM transactions on database systems >Optimizing XML Querying Using Type-Based Document Projection
【24h】

Optimizing XML Querying Using Type-Based Document Projection

机译:使用基于类型的文档投影优化XML查询

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

摘要

XML data projection (or pruning) is a natural optimization for main memory query engines: given a query Q over a document D, the subtrees of D that are not necessary to evaluate Q are pruned, thus producing a smaller document D'; the query Q is then executed on D, hence avoiding to allocate and process nodes that will never be reached by Q.In this article, we propose a new approach, based on types, that greatly improves current solutions. Besides providing comparable or greater precision and far lesser pruning overhead, our solution-unlike current approaches-takes into account backward axes, predicates, and can be applied to multiple queries rather than just to single ones. A side contribution is a new type system for XPath able to handle backward axes. The soundness of our approach is formally proved. Furthermore, we prove that the approach is also complete (i.e., yields the best possible type-driven pruning) for a relevant class of queries and Schemas. We further validate our approach using the XMark and XPathMark benchmarks and show that pruning not only improves the main memory query engine's performances (as expected) but also those of state of the art native XML databases.
机译:XML数据投影(或修剪)是对主内存查询引擎的自然优化:给定对文档D的查询Q,修剪不需要评估Q的D子树,从而生成较小的文档D';然后在D上执行查询Q,因此避免分配和处理Q永远不会到达的节点。在本文中,我们提出了一种基于类型的新方法,该方法可以大大改善当前的解决方案。除了提供可比或更高的精度和更少的修剪开销外,我们的解决方案(与当前方法不同)还考虑了后向轴,谓词,并且可以应用于多个查询,而不仅仅是单个查询。辅助功能是XPath能够处理后向轴的新型系统。我们方法的正确性已得到正式证明。此外,我们证明对于相关的查询和模式类,该方法也是完整的(即,产生最佳的类型驱动的修剪)。我们使用XMark和XPathMark基准测试进一步验证了我们的方法,并表明修剪不仅可以提高主内存查询引擎的性能(如预期的那样),而且还可以改善现有的本机XML数据库的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号