Optimizing queries using materialized views:: A practical, scalable solution

被引:0
|
作者
Goldstein, J [1 ]
Larson, PÅ [1 ]
机构
[1] Microsoft Corp, Redmond, WA 98052 USA
关键词
materialized views; view matching; query optimization;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 riot 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.
引用
收藏
页码:331 / 342
页数:12
相关论文
共 50 条
  • [1] Optimizing Aggregate SPARQL Queries Using Materialized RDF Views
    Ibragimov, Dilshod
    Hose, Katja
    Pedersen, Torben Bach
    Zimanyi, Esteban
    [J]. SEMANTIC WEB - ISWC 2016, PT I, 2016, 9981 : 341 - 359
  • [2] Configuring bitmap materialized views for optimizing XML queries
    Wu, Xiaoying
    Theodoratos, Dimitri
    Kementsietsidis, Anastasios
    [J]. WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2015, 18 (03): : 607 - 632
  • [3] Configuring bitmap materialized views for optimizing XML queries
    Xiaoying Wu
    Dimitri Theodoratos
    Anastasios Kementsietsidis
    [J]. World Wide Web, 2015, 18 : 607 - 632
  • [4] Optimizing Database Queries with Materialized Views and Data Mining Models
    Kerdprasop, Nittaya
    Kerdprasop, Kittisak
    [J]. DATABASE THEORY AND APPLICATION, BIO-SCIENCE AND BIO-TECHNOLOGY, 2011, 258 : 11 - 20
  • [5] Answering queries using materialized views with disjunctions
    Afrati, FN
    Gergatsoulis, M
    Kavalieros, T
    [J]. DATABASE THEORY - ICDT'99, 1999, 1540 : 435 - 452
  • [6] Optimizing XML queries: Bitmapped materialized views vs. indexes
    Wu, Xiaoying
    Theodoratos, Dimitri
    Wang, Wendy Hui
    Sellis, Timos
    [J]. INFORMATION SYSTEMS, 2013, 38 (06) : 863 - 884
  • [7] Rewriting XPath queries using materialized XPath views
    Ramanan, Prakash
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2012, 78 (04) : 1006 - 1025
  • [8] Answering queries using materialized views with minimum size
    Rada Chirkova
    Chen Li
    Jia Li
    [J]. The VLDB Journal, 2006, 15 : 191 - 210
  • [9] Answering queries using materialized views with minimum size
    Chirkova, Rada
    Li, Chen
    Li, Jia
    [J]. VLDB JOURNAL, 2006, 15 (03): : 191 - 210
  • [10] Answering keyword queries on XML using materialized views
    Liu, Ziyang
    Chen, Yi
    [J]. 2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 1501 - 1503