MySQL/SHOW:修订间差异
来自康健生活
| 第29行: | 第29行: | ||
+-------+-----------------------------------------------------------------------------------------------------+ | +-------+-----------------------------------------------------------------------------------------------------+ | ||
1 row in set (0.00 sec) | 1 row in set (0.00 sec) | ||
</syntaxhighlight>|mysql>}} | |||
== 表状态 == | |||
{{Shc_out|<syntaxhighlight lang="mysql"> | |||
SHOW TABLE STATUS WHERE Name = 'user';</syntaxhighlight>|<syntaxhighlight lang="bash"> | |||
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+ | |||
| 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 | 12 | 1365 | 16384 | 0 | 0 | 0 | 16 | 2022-01-27 17:12:54 | NULL | NULL | latin1_swedish_ci | NULL | | | | |||
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+ | |||
1 row in set (0.01 sec) | |||
</syntaxhighlight>|mysql>}} | </syntaxhighlight>|mysql>}} | ||