MySQL common
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
# InnoDB引擎页大小
|
# InnoDB引擎页大小,默认16k
|
||||||
show global status like 'Innodb_page_size';
|
show global status like 'Innodb_page_size';
|
||||||
|
|
||||||
# 查询用户
|
# Buffer Pool 默认大小是 128M
|
||||||
|
show variables like '%innodb_buffer_pool%';
|
||||||
|
|
||||||
|
# 查询MySQL用户
|
||||||
select *
|
select *
|
||||||
from mysql.user;
|
from mysql.user;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user