Extensible Query Optimizers in Practice

被引:0
|
作者
Ding, Bailu [1 ]
Narasayya, Vivek [1 ]
Chaudhuri, Surajit [1 ]
机构
[1] Microsoft Corp, Sunnyvale, CA 94085 USA
来源
FOUNDATIONS AND TRENDS IN DATABASES | 2024年 / 14卷 / 3-4期
关键词
CARDINALITY ESTIMATION; OPTIMIZATION; PLANS; ALGORITHMS; EFFICIENT; LOOKING; ENGINE;
D O I
10.1561/1900000077
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The performance of a query crucially depends on the ability of the query optimizer to choose a good execution plan from a large space of alternatives. With the discovery of algebraic transformation rules and the emergence of new application- specific contexts, extensibility has become a key requirement for query optimizers. This monograph describes extensible query optimizers in detail, focusing on the Volcano/Cascades framework used by several database systems including Microsoft SQL Server. We explain the need for extensible query optimizer architectures and how the optimizer navigates the search space efficiently. We then discuss several important transformations that are commonly used in practice. We describe cost estimation, an essential component that the optimizer relies upon to quantitatively compare alternative plans in the search space. We discuss how database systems manage plans over their lifetime as data and workloads change. We conclude with a few open challenges.
引用
收藏
页数:219
相关论文
共 50 条
  • [1] Parallelizing Extensible Query Optimizers
    Waas, Florian M.
    Hellerstein, Joseph M.
    ACM SIGMOD/PODS 2009 CONFERENCE, 2009, : 871 - 878
  • [2] Learned Query Optimizers
    Ding, Bolin
    Zhu, Rong
    Zhou, Jingren
    FOUNDATIONS AND TRENDS IN DATABASES, 2024, 13 (04): : 250 - 310
  • [3] A Variability Model for Query Optimizers
    Soffner, Michael
    Siegmund, Norbert
    Rosenmueller, Marko
    Siegmund, Janet
    Leich, Thomas
    Saake, Gunter
    DATABASES AND INFORMATION SYSTEMS VII, 2013, 249 : 15 - +
  • [4] The Vertica Query Optimizer: The Case for Specialized Query Optimizers
    Tran, Nga
    Lamb, Andrew
    Shrinivas, Lakshmikant
    Bodagala, Sreenath
    Dave, Jaimin
    2014 IEEE 30TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2014, : 1108 - 1119
  • [5] Automating statistics management for query optimizers
    Chaudhuri, S
    Narasayya, V
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2001, 13 (01) : 7 - 20
  • [6] Have query optimizers hit the wall?
    Richard T. Snodgrass
    Sabah Currim
    Young-Kyoon Suh
    The VLDB Journal, 2022, 31 : 181 - 200
  • [7] Learned Query Optimizers: Evaluation and Improvement
    Mikhaylov, Artem
    Mazyavkina, Nina S.
    Salnikov, Mikhail
    Trofimov, Ilya
    Qiang, Fu
    Burnaev, Evgeny
    IEEE ACCESS, 2022, 10 : 75205 - 75218
  • [8] Have query optimizers hit the wall?
    Snodgrass, Richard T.
    Currim, Sabah
    Suh, Young-Kyoon
    VLDB JOURNAL, 2022, 31 (01): : 181 - 200
  • [9] Rule Profiling for Query Optimizers and their Implications
    Chaudhuri, Surajit
    Giakoumakis, Leo
    Narasayya, Vivek
    Ramamurthy, Ravishankar
    26TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING ICDE 2010, 2010, : 1072 - 1080
  • [10] OptMark: A Toolkit for Benchmarking Query Optimizers
    Li, Zhan
    Papaemmanouil, Olga
    Cherniack, Mitch
    CIKM'16: PROCEEDINGS OF THE 2016 ACM CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2016, : 2155 - 2160