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