首页> 外文会议>Twenty-ninth International Conference on Very Large Databases; Sep 9-12, 2003; Berlin, Germany >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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号