SHOW TABLE DOES在MySQL中显示什么信息
MySQL中的SHOWTABLESTATUS显示表的NAME,ENGINE,VERSION,ROWS,CHECKSUM等-
示例
让我们首先创建一个表。在这里,我们正在使用MyISAM引擎。创建表的查询如下-
mysql> create table Post_Demo -> ( -> PostId int, -> PostName varchar(100), -> PostDate datetime, -> PRIMARY KEY(PostId) -> )ENGINE = MyISAM;
现在,您可以使用SHOWTABLE命令检查表状态。查询如下-
mysql> show table status where Name = 'Post_Demo'\G
输出结果
*************************** 1. row ***************************
Name: post_demo
Engine: MyISAM
Version: 10
Row_format: Dynamic
Rows: 0
Avg_row_length: 0
Data_length: 0
Max_data_length: 281474976710655
Index_length: 1024
Data_free: 0
Auto_increment: 1
Create_time: 2019-02-12 16:27:26
Update_time: 2019-02-12 16:27:26
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)热门推荐
1 训练狗狗基础
2 怎么训练狗狗笑
3 怎么训练狗狗卧下
4 上海狗狗训练基地
5 训练狗狗排便
6 狗狗基础训练
8 如何训练狗狗装死
9 狗狗站姿训练
10 狗狗训练用品
11 训练狗狗吧
12 狗狗要怎么训练
13 怎么训练狗狗玩球
14 训练狗狗唤回
15 狗狗训练躺下
16 狗狗训练指令
17 狗狗的训练技巧
18 狗狗不好训练