【24h】

Reducing the Braking Distance of an SQL Query Engine

机译:减少SQL查询引擎的制动距离

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

摘要

In a recent paper, we proposed adding a STOP AFTER clause to SQL to permit the cardinality of a query result to be explicitly limited by query writers and query tools. We demonstrated the usefulness of having this clause, showed how to extend a traditional cost-based query optimizer to accommodate it, and demonstrated via DB2-based simulations that large performance gains are possible when STOP AFTER queries are explicitly supported by the database engine. In this paper, we present several new strategies for efficiently processing STOP AFTER queries. These strategies, based largely on the use of range partitioning techniques, offer significant additional savings for handling STOP AFTER queries that yield sizeable result sets. We describe classes of queries where such savings would indeed arise and present experimental measurements that show the benefits and tradeoffs associated with the new processing strategies.
机译:在最近的一篇论文中,我们建议在SQL中添加一个STOP AFTER子句,以允许查询编写者和查询工具明确限制查询结果的基数。我们展示了使用此子句的有用性,展示了如何扩展传统的基于成本的查询优化器以适应它,并通过基于DB2的模拟演示了当数据库引擎明确支持STOP AFTER查询时,可以大幅度提高性能。在本文中,我们提出了几种有效处理STOP AFTER查询的新策略。这些策略主要基于范围划分技术的使用,为处理产生较大结果集的STOP AFTER查询提供了可观的额外节省。我们描述了确实会产生这种节省的查询类别,并提供了实验测量结果,这些结果显示了与新处理策略相关的好处和折衷方案。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号