mysql>explainselect1\G***1id:1select_type: SIMPLEtable:NULLtype:NULLpossible_keys:NULLkey:NULLkey_len:NULLref:NULLrows:NULLExtra: No tables used 可以用desc代替 explain :descselect1; mysql>descselect1;+---+---+---+---+---+---+---+---+---+---+---+---+|id|select_type|t...
|1|PRIMARY|NULL|NULL|NULL|NULL|NULL|NULL|NULL|ImpossibleWHEREnoticed after reading const tables| |2|SUBQUERY|NULL|NULL|NULL|NULL|NULL|NULL|NULL|no matching rowinconsttable| |3|SUBQUERY|t3|ref|name|name|63||1|Usingwhere; Usingindex| +---+---+---+---+---+---+---+---+---+-...
Extra 该列包含MySQL解决查询的详细信息 Distinct:MySQL发现第1个匹配行后,停止为当前的行组合搜索更多的行。 Select tables optimized awayMySQL根本没有遍历表或索引就返回数据了,表示已经优化到不能再优化了 Not exists:MySQL能够对查询进行LEFT JOIN优化,发现1个匹配LEFT JOIN标准的行后,不...
The query plan information generated as openCypher explain output contains tables with one operator per row. The table has the following columns: ID – The numeric ID of this operator in the plan. Out #1 (and Out #2) – The ID(s) of operator(s) that are downstream from this operator...
The table has at most one matching row, which is read at the start of the query. Because there is only one row, values from the column in this row can be regarded as constants by the rest of theoptimizer. const tables are very fast because they are read only once. ...
ExplainOpenGroup("Target Tables", "Target Tables", false, es); for (j = 0; j < mtstate->mt_nplans; j++) { ResultRelInfo *resultRelInfo = mtstate->resultRelInfo + j; FdwRoutine *fdwroutine = resultRelInfo->ri_FdwRoutine; if (labeltargets) { /* Open a group for this target ...
(inner_tables) 準結合操作。inner_tables には、プルされなかったテーブルが表示れます。 セクション8.2.2.1「準結合変による IN おび EXISTS サブクエリー述語の最適化」を参照してください。 <temporary table> これは、中間結果をキャッシュするために作成される内部一時テーブル...
7. Select tables optimized away 这个值意味着仅通过使用索引,优化器可能仅从聚合函数结果中返回一行。 8. Distinct 这个值意味着MySQL 在找到第一个匹配的行之后就会停止搜索其他行。 9. Index merges 当MySQL 决定要在一个给定的表上使用超过一个索引的时候,就会出现以下格式中的一个,详细说明使用的索引以及合并...
EXPLAIN: 为 SELECT语句中使用到的每个表返回一条信息。它按照MySQL在处理语句时读取它们的顺序列出这些表。MySQL使用循环嵌套算法解析所有连接。意味着MySQL从第一个表中读取一行,然后在第二个表,第三个表中找到匹配的行,等等。
The table has at most one matching row, which is read at the start of the query. Because there is only one row, values from the column in this row can be regarded as constants by the rest of the optimizer. const tables are very fast because they are read only once. ...