【24h】

Temporal Slicing in the Evaluation of XML Queries

机译:XML查询评估中的时间切片

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

摘要

As with relational data, XML data changes over time with the creation, modification, and deletion of XML documents. Expressing queries on time-varying (relational or XML) data is more difficult than writing queries on nontemporal data. In this paper, we present a temporal XML query language, τXQuery, in which we add valid time support to XQuery by minimally extending the syntax and semantics of XQuery. We adopt a stratum approach which maps a τXQuery query to a conventional XQuery. The paper focuses on how to perform this mapping, in particular, on mapping sequenced queries, which are by far the most challenging. The critical issue of supporting sequenced queries (in any query language) is time-slicing the input data while retaining period timestamping. Timestamps are distributed throughout an XML document, rather than uniformly in tuples, complicating the temporal slicing while also providing opportunities for optimization. We propose four optimizations of our initial maximally-fragmented time-slicing approach: selected node slicing, copy-based per-expression slicing, in-place per-expression slicing, and idiomatic slicing, each of which reduces the number of constant periods over which the query is evaluated. While performance tradeoffs clearly depend on the underlying XQuery engine, we argue that there are queries that favor each of the five approaches.
机译:与关系数据一样,XML数据随着XML文档的创建,修改和删除而随着时间变化。在时变(关系或XML)数据上表达查询要比在非时态数据上写查询困难。在本文中,我们提出了一种时间XML查询语言τXQuery,其中通过最小化扩展XQuery的语法和语义为XQuery添加了有效的时间支持。我们采用分层方法,将τXQuery查询映射到常规XQuery。本文重点介绍如何执行此映射,尤其是映射顺序查询,这是迄今为止最具挑战性的。支持排序查询​​(使用任何查询语言)的关键问题是对输入数据进行时间切片,同时保留时间戳。时间戳分布在整个XML文档中,而不是均匀地分布在元组中,这使得时间切片变得复杂,同时也提供了优化机会。我们为初始最大片段化时间切片方法提出了四个优化方案:选定节点切片,基于副本的每个表达式切片,就地每个表达式切片和惯用切片,每一个都减少了恒定周期的数量,查询被评估。尽管性能折衷显然取决于基础XQuery引擎,但我们认为有些查询支持这五种方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号