MySQL/SHOW:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第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 | Max_data_length | Index_length | Data_free | Auto_increment | Create_time        | Update_time | Check_time | Collation        | Checksum | Create_options | Comment |
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length |
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+
| user | InnoDB |     10 | Compact    |   12 |          1365 |      16384 |              0 |            0 |        0 |             16 | 2022-01-27 17:12:54 | NULL        | NULL      | latin1_swedish_ci |    NULL |                |        |
| user | InnoDB |     10 | Compact    |   12 |           1365 |       16384 |               0 |           0 |
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
+------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+
+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| Data_free | Auto_increment | Create_time        | Update_time | Check_time | Collation         | Checksum | Create_options | Comment |
+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
|        0 |            16 | 2022-01-27 17:12:54 | NULL        | NULL      | latin1_swedish_ci |    NULL |                |        |
+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
1 row in set (0.01 sec)
1 row in set (0.01 sec)
</syntaxhighlight>|mysql>}}
</syntaxhighlight>|mysql>}}