摘要:
Fwd: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6#gistcomment-3154732 In case anyone is confused by the instructions, here's wha 阅读全文
摘要:
MySQL SELECT_LEX与subselect 执行 源码阅读笔记 Based on MySQL8.0 community version JOIN::exec的细节不在此文中介绍。 SELECT_LEX 代码中常见简称为select。一个SELECT_LEX可以理解成一个SELECT FRO 阅读全文
摘要:
MySQL 8.0 QueryResolver 源码笔记 前言 核心逻辑在SELECT_LEX::prepare()中,按照源码注释,其包括的大致内容如下: /** Prepare query block for optimization. Resolve table and column info 阅读全文
摘要:
MySQL 8.0 Optimizer 源码笔记 Based on 社区版源码。核心入口 JOIN::optimize /** Optimizes one query block into a query execution plan (QEP.) This is the entry point t 阅读全文
摘要:
MySQL Item 源码阅读笔记 Based on MySQL8.0 community version Outline Item的内容与作用 Item的构建 几种典型Item的介绍 Item表达式求值与相关优化的实现 Item与下推优化 1. Item的内容与作用 一个前人画的Item继承关系图 阅读全文