我们可以借助 show table status 语句来检查数据库中表的状态。例如,在名为tutorial的数据库中,通过执行此语句我们可以获取表的状态如下 -Mysql> show table status \G**********
我们可以借助 show table status 语句来检查数据库中表的状态。例如,在名为tutorial的数据库中,通过执行此语句我们可以获取表的状态如下 -
Mysql> show table status \G
*************************** 1. row ***************************
Name: student
Engine: InnoDB
Version: 10
Row_fORMat: Compact
Rows: 0
Avg_row_length: 0
Data_length: 16384
Max_data_length: 0
Index_length: 0
Data_free: 7340032
Auto_increment: NULL
Create_time: 2017-10-24 09:34:29
Update_time: NULL
Check_time: NULL
Collation: latin1_swedish_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)
该数据库只有一个名为“student”的表。
--结束END--
本文标题: 如何检查特定MySQL数据库中表的表状态?
本文链接: https://www.lsjlt.com/news/437578.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0