zoukankan      html  css  js  c++  java
  • mysql 中显示 table 的基本信息

    mysql> show table status like 'j_position' G
    *************************** 1. row ***************************
               Name: j_position
             Engine: InnoDB
            Version: 10
         Row_format: Dynamic
               Rows: 652798
     Avg_row_length: 393
        Data_length: 256622592
    Max_data_length: 0
       Index_length: 11026432
          Data_free: 319815680
     Auto_increment: 668390
        Create_time: 2017-11-27 14:30:45
        Update_time: 2017-11-27 12:02:49
         Check_time: NULL
          Collation: utf8_general_ci
           Checksum: NULL
     Create_options: 
            Comment: 省市县镇村数据
    1 row in set (0.00 sec)
    • Name 表名
    • Engine 表使用的存储引擎
    • RowFormat 行的格式,如果行内使用了变长的类型,就是 Dynamic
    • Rows 表当前的行数
    • Avg_row_length 平均每行占多少 bytes
    • Data_length 整个表的大小,单位字节
    • Index_length 索引数据占多少字节
    • Data_free 占用了,但还没有使用的字节数
    • Auto_increment 下一个 Auto_increment 的值(id)
    • Create_time 表的创建时间
    • Update_time 更新时间
    • Collation 默认字符集
    • Create_options 表格创建时的选项
    • Comment 表格 comment
  • 相关阅读:
    cocos3 单击
    cocos3 帧动画
    cocos3 动作和帧动画
    cocos3 场景切换特效
    cocos3 场景切换
    cocos3 error C2440
    c++ 匿名函数
    【leetcode】生成每种字符都是奇数个的字符串
    【leetcode】山羊拉丁文
    【leetcode】字符串的最大公因子
  • 原文地址:https://www.cnblogs.com/reycg-blog/p/7907159.html
Copyright © 2011-2022 走看看