update
This commit is contained in:
@@ -2,7 +2,14 @@
|
|||||||
show global status like 'Innodb_page_size';
|
show global status like 'Innodb_page_size';
|
||||||
|
|
||||||
# 查询用户
|
# 查询用户
|
||||||
select * from mysql.user;
|
select *
|
||||||
|
from mysql.user;
|
||||||
|
|
||||||
# 查询表的创建语句
|
# 查询表的创建语句
|
||||||
SHOW CREATE TABLE sku.person;
|
show create table sku.person;
|
||||||
|
|
||||||
|
# 查询某个表占用的空间
|
||||||
|
select concat(round(sum(data_length / 1024 / 1024), 2), 'MB') as size
|
||||||
|
from information_schema.tables
|
||||||
|
where table_schema = 'fortern_qqnt'
|
||||||
|
and table_name = 'group_msg_table';
|
||||||
|
|||||||
Reference in New Issue
Block a user