首页> 外文会议>International conference on very large databases >From Tree Patterns to Generalized Tree Patterns: On Efficient Evaluation of XQuery
【24h】

From Tree Patterns to Generalized Tree Patterns: On Efficient Evaluation of XQuery

机译:从树形模式到广义树模式:高效评估XQuery

获取原文

摘要

XQuery is the de facto standard XML query language, and it is important to have efficient query evaluation techniques available for it. A core operation in the evaluation of XQuery is the finding of matches for specified tree patterns, and there has been much work towards algorithms for finding such matches efficiently. Multiple XPath expressions can be evaluated by computing one or more tree pattern matches. However, relatively little has been done on efficient evaluation of XQuery queries as a whole. In this paper, we argue that there is much more to XQuery evaluation than a tree pattern match. We propose a structure called generalized tree pattern (GTP) for concise representation of a whole XQuery expression. Evaluating the query reduces to finding matches for its GTP. Using this idea we develop efficient evaluation plans for XQuery expressions, possibly involving join, quantifiers, grouping, aggregation, and nesting. XML data often conforms to a schema. We show that using relevant constraints from the schema, one can optimize queries significantly, and give algorithms for automatically inferring GTP simplifications given a schema. Finally, we show, through a detailed set of experiments using the TIMBER XML database system, that plans via GTPs (with or without schema knowledge) significantly outperform plans based on navigation and straightforward plans obtained directly from the query.
机译:XQuery是De Facto标准的XML查询语言,重要的是有高效的查询评估技术可用。 XQuery评估中的核心操作是针对指定树模式的匹配,并且有效地找到了算法的算法,以便有效地查找此类匹配。可以通过计算一个或多个树模式匹配来评估多个XPath表达式。然而,在整体上有效地评估XQuery查询的有效评估已经相对较少。在本文中,我们认为XQuery评估比树案匹配更多。我们提出了一种称为广义树模式(GTP)的结构,以简明XQuery表达式的简明表示。评估查询减少以查找其GTP的匹配。使用此想法,我们为XQuery表达式开发有效的评估计划,可能涉及加入,量词,分组,聚合和嵌套。 XML数据通常符合架构。我们表明,使用模式的相关约束,可以显着优化查询,并给出架构的自动推断GTP简化的算法。最后,我们通过使用木材XML数据库系统的详细实验显示,通过GTPS(有或没有模式知识)的计划,基于导航和直接从查询获得的直接计划显着优于比例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号