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