• 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:其他额外的信息
  • 相关阅读:
    Keras学习笔记——Hello Keras
    记一次线上事故的JVM内存学习
    postgresql中的search_path
    CentOS7安装setuptools
    CentOS7安装EPEL的两种方式
    Ncures库的介绍与安装
    CentOs6.5 安装Zlib
    Centos 安装zlib
    Windows如何压缩tar.gz格式
    nginx运行文件出错env: /etc/init.d/nginx: No such file or directory
  • 原文地址:https://www.cnblogs.com/kinfriend/p/3588632.html
Copyright © 2020-2023  润新知