zoukankan      html  css  js  c++  java
  • explain结果中的type字段的含义

    EXPLAIN output columns(解释输出列)

    Each output row from EXPLAIN  provides information about one table . Each cotains the values summarized in Table 8.1 "EXPLAIN Output Columns",and descirbed in more detail following the table .Column names are shown in the table's first cloumn;the second column provides the 

    equivalent property name shown in the output when FORMAT=JSON is used

    EXPLAIN的每个输出行都提供有关一个表的信息。 每行都包含表8.1“ EXPLAIN输出列”中汇总的值,并在该表后进行了更详细的描述。 列名显示在表的第一列中; 第二列提供使用FORMAT = JSON时在输出中显示的等效属性名称。

    Table 8.1 EXPLAIN  Output columns

    Columns              JSON Name      Meaning

    id                 select_id        the select identifiler

    select_type    none    the select type

    table    table_name   the table for the output row

    partitions  partitions  the matching partitions

    type access_type     the join type

    possible_keys  possible_keys  the possible indexes to choose

    key   key  the index actually chosen

    key_len key_length   the length of the chosen key

    ref  ref   the columns compared to the index

    rows rows extimate of rows filtered by table condittion

    filtered filtered percentage of rows filtered by table condtion

    extra none additional information

    MySQL官网的解释 type : the join type . 它描述了找到所需数据使用的扫描方式.

  • 相关阅读:
    document.all用法
    $.ajax同步/异步(async:false/true)
    link 和@import 的区别
    如何对网页的加载进行性能优化
    border-style有哪些值?
    CSS设置DIV居中
    jquery选择器
    jQuery库中获取jQuery对象的方式
    Observer,观察者模式,C++描述
    Iterator,迭代器模式,C++描述
  • 原文地址:https://www.cnblogs.com/aln0825/p/12448093.html
Copyright © 2011-2022 走看看