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 . 它描述了找到所需数据使用的扫描方式.

  • 相关阅读:
    Introduction to Oracle9i: SQL left join 和 left outer join 的区别
    ORACLE10G RMAN 命令
    Oracle管理与维护.手工创建数据库以及脚本
    RMAN 备份基本用法
    ASM 常用概念解释
    oracle学习笔记之二:数据类型之DATETIME 收藏
    10g中表监控与statistics_level
    Oracle 学习笔记: RMAN常用命令
    Oracle 进程类别
    ORACLE TRUNC()函数
  • 原文地址:https://www.cnblogs.com/aln0825/p/12448093.html
Copyright © 2011-2022 走看看