zoukankan      html  css  js  c++  java
  • mysql命令学习笔记(1):show table status like 'user';显示表的相关信息

    show table status like 'user';显示表的相关信息

    +------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+-------------
    | Name       | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Collation         | Checksum | Create_options | Comment |
    +------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+-------------
    | user           | InnoDB |      10  | Compact      |  515   |            127         |       65536    |               0            |            0       |   9437184 |            575        |2014-02-28 13:07:06 | NULL        | NULL            | utf8_general_ci | NULL       |                         |                 |
    +------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+------------

    1. Name:表名;
    2. Engine:存储引擎类型;
    3. Row_format:行的格式;
    4. Rows:行数;
    5. Avg_row_length:平均每行包含的字节数;
    6. Data_length:表数据的大小
    7. Max_data_length:表数据的最大容量
    8. Index_length:索引的大小
    9. Data_free:对于MyISAM表,表示目前已分配但没有使用的空间,这部分空间局包括了之前被删除的行,以及后续可以被Insert的利用到的空间
    10. Auto_increment:下一个Auto_increment的值
    11. Create_time :表的创建时间
    12. Update_time:表数据的最后修改时间
    13. Check_time:使用CheckTable命令或者myisamchk工具最后一次检查表的时间
    14. Collation:表的默认字符集和字符序排序规则
    15. Checksum:如果启用,保存的是整个表的实时校验和
    16. Create_options:创建表时指定的其他选项
    17. Comment:其他额外的信息
  • 相关阅读:
    Balance_01背包
    4 Values whose Sum is 0_upper_bound&&ower_bound
    Newspaper Headline_set(upper_bound)
    lower_bound和upper_bound算法
    Blocks_DP&&矩阵快速幂
    All X_数的快速幂
    Training little cats_矩阵快速幂
    Raising Modulo Numbers_快速幂取模算法
    Defining Python Source Code Encodings
    Python ord(char)
  • 原文地址:https://www.cnblogs.com/kinfriend/p/3588632.html
Copyright © 2011-2022 走看看