1
0
Files
sql-study/MySQL/common.sql
2025-11-04 21:42:32 +08:00

19 lines
474 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# InnoDB引擎页大小16k
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';