1
0
Files
sql-study/MySQL/common.sql
2025-09-03 12:12:36 +08:00

19 lines
462 B
SQL

# InnoDB引擎页大小
show global status like 'Innodb_page_size';
# Buffer Pool 128M
show variables like '%innodb_buffer_pool%';
# MySQL用户
select *
from mysql.user;
#
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';