您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

如何检查特定MySQL数据库中表的表状态?

2024/2/28 5:31:30发布16次查看
我们可以借助 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: 16384max_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”的表。
以上就是如何检查特定mysql数据库中表的表状态?的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product