MySQL/SHOW:修订间差异
来自康健生活
| 第33行: | 第33行: | ||
{{Shc_out|<syntaxhighlight lang="mysql"> | {{Shc_out|<syntaxhighlight lang="mysql"> | ||
SHOW TABLE STATUS WHERE Name = 'user';</syntaxhighlight>|<syntaxhighlight lang="bash"> | SHOW TABLE STATUS WHERE Name = 'user';</syntaxhighlight>|<syntaxhighlight lang="bash"> | ||
+------+--------+---------+------------+------+----------------+ | +------+--------+---------+------------+------+----------------+-------------+ | ||
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | | Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | | ||
+------+--------+---------+------------+------+----------------+ | +------+--------+---------+------------+------+----------------+-------------+ | ||
| user | InnoDB | 10 | Compact | 12 | 1365 | 16384 | | user | InnoDB | 10 | Compact | 12 | 1365 | 16384 | | ||
+------+--------+---------+------------+------+----------------+-------------+-----------------+-------------- | +------+--------+---------+------------+------+----------------+-------------+ | ||
+-----------+----------------+---------------------+------------- | +-----------------+--------------+-----------+----------------+---------------------+ | ||
| | | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | | ||
+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+ | +-----------------+--------------+-----------+----------------+---------------------+ | ||
| | | 0 | 0 | 0 | 16 | 2022-01-27 17:12:54 | | ||
+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+ | +-----------------+--------------+-----------+----------------+---------------------+ | ||
+-------------+------------+-------------------+----------+----------------+---------+ | |||
| Update_time | Check_time | Collation | Checksum | Create_options | Comment | | |||
+-------------+------------+-------------------+----------+----------------+---------+ | |||
| NULL | NULL | latin1_swedish_ci | NULL | | | | |||
+-------------+------------+-------------------+----------+----------------+---------+ | |||
1 row in set (0.01 sec) | 1 row in set (0.01 sec) | ||
</syntaxhighlight>|mysql>}} | </syntaxhighlight>|mysql>}} | ||