Optimizing queries using materialized views

Author:

Goldstein Jonathan1,Larson Per-Åke1

Affiliation:

1. Microsoft Research, Redmond, WA

Abstract

Materialized views can provide massive improvements in query processing time, especially for aggregation queries over large tables. To realize this potential, the query optimizer must know how and when to exploit materialized views. This paper presents a fast and scalable algorithm for determining whether part or all of a query can be computed from materialized views and describes how it can be incorporated in transformation-based optimizers. The current version handles views composed of selections, joins and a final group-by. Optimization remains fully cost based, that is, a single “best” rewrite is not selected by heuristic rules but multiple rewrites are generated and the optimizer chooses the best alternative in the normal way. Experimental results based on an implementation in Microsoft SQL Server show outstanding performance and scalability. Optimization time increases slowly with the number of views but remains low even up to a thousand.

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems,Software

Reference18 articles.

1. J. Chang and S. Lee Query Reformulation Using Materialized Views in Data Warehousing Environment First ACM Int'l Workshop on Data Warehousing and OLAP (DOLAP) 1998 54-59. 10.1145/294260.294272 J. Chang and S. Lee Query Reformulation Using Materialized Views in Data Warehousing Environment First ACM Int'l Workshop on Data Warehousing and OLAP (DOLAP) 1998 54-59. 10.1145/294260.294272

2. Rewriting aggregate queries using views

Cited by 90 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Exploiting Shared Sub-Expression and Materialized View Reuse for Multi-Query Optimization;Information Systems Frontiers;2024-06-25

2. QOTUM: The Query Optimizer for Distributed Database in Cloud Environment;Tehnički glasnik;2024-05-15

3. Sharing Queries with Nonequivalent User-defined Aggregate Functions;ACM Transactions on Database Systems;2024-04-10

4. Graph-Attention-Network-Based Cost Estimation Model in Materialized View Environment;2023 IEEE 29th International Conference on Parallel and Distributed Systems (ICPADS);2023-12-17

5. GEqO: ML-Accelerated Semantic Equivalence Detection;Proceedings of the ACM on Management of Data;2023-12-08

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3