From 729f880624a8e39bebc06db306da5efe298504f8 Mon Sep 17 00:00:00 2001 From: Fortern Date: Wed, 3 Sep 2025 12:12:36 +0800 Subject: [PATCH] mysql --- MySQL/common.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MySQL/common.sql b/MySQL/common.sql index d010b81..0c11b97 100644 --- a/MySQL/common.sql +++ b/MySQL/common.sql @@ -1,7 +1,10 @@ # InnoDB引擎页大小 show global status like 'Innodb_page_size'; -# 查询用户 +# Buffer Pool 默认大小是 128M +show variables like '%innodb_buffer_pool%'; + +# 查询MySQL用户 select * from mysql.user;