1
0
This commit is contained in:
2025-09-01 04:31:16 +08:00
parent 0ce3a0ccdf
commit fe6f53c187

View File

@@ -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';