首页> 外文会议>International conference on very large databases >AQuery: Query Language for Ordered Data, Optimization Techniques, and Experiments
【24h】

AQuery: Query Language for Ordered Data, Optimization Techniques, and Experiments

机译:Aquery:有序数据的查询语言,优化技术和实验

获取原文

摘要

An order-dependent query is one whose result (interpreted as a multiset) changes if the order of the input records is changed. In a stock-quotes database, for instance, retrieving all quotes concerning a given stock for a given day does not depend on order, because the collection of quotes does not depend on order. By contrast, finding a stock's five-price moving-average in a trades table gives a result that depends on the order of the table. Query languages based on the relational data model can handle order-dependent queries only through add-ons. SQL:1999, for instance, has a new "window" mechanism which can sort data in limited parts of a query. Add-ons make order-dependent queries difficult to write and to optimize. In this paper we show that order can be a natural property of the underlying data model and algebra. We introduce a new query language and algebra, called AQuery, that supports order from-the-ground-up. New order-related query transformations arise in this setting. We sho.w by experiment that this framework - language plus optimization techniques - brings orders-of-magnitude improvement over SQL:1999 systems on many natural order-dependent queries.
机译:订单相关的查询是如果输入记录的顺序更改,则结果(解释为多个特征)更改的查询。例如,在股票引号数据库中,检索关于给定日期的给定库存的所有引号不依赖于订单,因为引号的集合不依赖于顺序。相比之下,在交易表中找到股票的五价移动平均值给出了取决于表的顺序。基于关系数据模型的查询语言可以通过附加组件处理依赖于订单依赖查询。例如,SQL:1999具有一个新的“窗口”机制,可以在查询的有限部分中对数据进行排序。附加组件使订单相关的查询难以写入和优化。在本文中,我们显示订单可以是底层数据模型和代数的自然属性。我们介绍了一种新的查询语言和代数,称为Aquery,支持从头开始的订单。此设置中出现新的相关查询转换。通过实验,我们通过实验,这种框架语言加优化技术 - 在许多自然秩序依赖查询上通过SQL:1999系统带来幅度幅度的变化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号