【24h】

Projecting XML Documents

机译:投影XML文档

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

摘要

XQuery is not only useful to query XML in databases, but also to applications that must process XML documents as files or streams. These applications suffer from the limitations of current main-memory XQuery processors which break for rather small documents. In this paper we propose techniques, based on a notion of projection for XML, which can be used to drastically reduce memory requirements in XQuery processors. The main contribution of the paper is a static analysis technique that can identify at compile time which parts of the input document are needed to answer an arbitrary XQuery. We present a loading algorithm that takes the resulting information to build a projected document, which is smaller than the original document, and on which the query yields the same result. We implemented projection in the Galax XQuery processor. Our experiments show that projection reduces memory requirements by a factor of 20 on average, and is effective for a wide variety of queries. In addition, projection results in some speedup during query evaluation.
机译:XQuery不仅可用于查询数据库中的XML,而且还可用于必须将XML文档作为文件或流处理的应用程序。这些应用程序受到当前主内存XQuery处理器的限制,这些限制会破坏较小的文档。在本文中,我们基于XML的投影概念提出了一些技术,这些技术可用于大大减少XQuery处理器中的内存需求。本文的主要贡献是一种静态分析技术,该技术可以在编译时确定输入文档的哪些部分需要回答任意XQuery。我们提出了一种加载算法,该算法使用所得信息来构建投影文档,该文档比原始文档小,并且在该文档上查询会产生相同的结果。我们在Galax XQuery处理器中实现了投影。我们的实验表明,投影将内存需求平均减少了20倍,并且对多种查询有效。另外,在查询评估期间,投影会导致速度加快。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号