首页> 外文会议>Advances in Digital Libraries, 2000. ADL 2000. Proceedings. IEEE >On extending the XML engine with query-processing capabilities
【24h】

On extending the XML engine with query-processing capabilities

机译:关于扩展具有查询处理功能的XML引擎

获取原文
获取外文期刊封面目录资料

摘要

We study how to efficiently evaluate queries over XML documents whose representation is according to the XML specification, i.e., XML files. The software architecture is as follows: the XML engine (i.e., XML parser) makes the structure of the documents explicit. The query processor operates directly on the output of the XML engine. We see two basic alternatives of how such a query processor operates: event-based and tree-based. In the first case, the query processor immediately checks for each event, e.g., begin of an element, if it contributes to a query result or if it invalidates current partial results. In the second case, the query processor generates an explicit transient representation of the document structure and evaluates the query set-at-a-time. This work evaluates these approaches and some optimizations in quantitative terms. Our main results are as follows. The event-based evaluation scheme is approximately 10% faster, even with all the optimizations from this article. The overhead of the query processors is small, compared to the running times of the XML engine. Finally exploiting DTD information in this particular context does not lead to a better performance.
机译:我们研究了如何有效地评估表示形式符合XML规范的XML文档(即XML文件)上的查询。软件体系结构如下:XML引擎(即XML解析器)使文档的结构明确。查询处理器直接对XML引擎的输出进行操作。我们看到这种查询处理器如何工作的两种基本选择:基于事件和基于树。在第一种情况下,查询处理器立即检查每个事件,例如元素的开始,是否有助于查询结果或是否使当前部分结果无效。在第二种情况下,查询处理器会生成文档结构的显式瞬态表示,并一次评估一次查询。这项工作从数量上评估了这些方法和一些优化。我们的主要结果如下。即使使用本文中的所有优化,基于事件的评估方案也要快大约10%。与XML引擎的运行时间相比,查询处理器的开销很小。最后,在此特定上下文中利用DTD信息不会带来更好的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号