首页> 外文期刊>Data Science and Engineering >A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration
【24h】

A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration

机译:推进DBMS查询优化器的调查:基数估计,成本模型和计划枚举

获取原文
获取外文期刊封面目录资料

摘要

Query optimizer is at the heart of the database systems. Cost-based optimizer studied in this paper is adopted in almost all current database systems. A cost-based optimizer introduces a plan enumeration algorithm to find a (sub)plan, and then uses a cost model to obtain the cost of that plan, and selects the plan with the lowest cost. In the cost model, cardinality, the number of tuples through an operator, plays a crucial role. Due to the inaccuracy in cardinality estimation, errors in cost model, and the huge plan space, the optimizer cannot find the optimal execution plan for a complex query in a reasonable time. In this paper, we first deeply study the causes behind the limitations above. Next, we review the techniques used to improve the quality of the three key components in the cost-based optimizer, cardinality estimation, cost model, and plan enumeration. We also provide our insights on the future directions for each of the above aspects.
机译:查询优化器位于数据库系统的核心。本文研究了基于成本的优化器,几乎采用了几乎所有当前的数据库系统。基于成本的优化器引入了一个计划枚举算法来查找(子)计划,然后使用成本模型来获得该计划的成本,并选择具有最低成本的计划。在成本模型中,基数,通过操作员的元组数,起到至关重要的作用。由于基数估计的不准确性,成本模型中的错误和巨大的计划空间,优化器无法在合理的时间内找到复杂查询的最佳执行计划。在本文中,我们首先深入研究了上述限制背后的原因。接下来,我们审查了用于提高基于成本的优化器,基数估计,成本模型和计划枚举中三个关键组件的质量的技术。我们还为上述每一方面的未来方向提供了深入的洞察。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号