数据库优化器专题汇总



01



Introduction


优化器就是一个搜索引擎,其三要素是:搜索空间、搜索策略、代价模型



02


strategy


2.1 bottom-up

2.2 top-down


03


modular query optimizer



04


Paper list

大V的paper list


  1. Goetz Graefe:https://dblp.uni-trier.de/pers/hd/g/Graefe:Goetz

  2. Thomas Neumann:https://dblp.uni-trier.de/pers/hd/n/Neumann_0001:Thomas

  3. Pit Fender:https://dblp.uni-trier.de/pers/hd/f/Fender:Pit



优化器是一个很复杂的模块。目前还有以下几个问题没有进行分析:

  1. 复杂join条件:采用graph甚至是hypergraph分析;

  2. 外连接:我们讨论的join tree还是很简单的笛卡尔乘积,并没有涉及外连接,半连接等情况;

  3. adaptive:同一条语句的最优计划随时会发生变化,需要replan;

  4. cost model:统计和估计是非常影响优化器性能的组件,直接决定最终选出的计划;

  5. 物化视图:对中间结果存储,加速查询;



后台回复“opt”,获取优化器系列相关论文。