From d86a3669d7838de211c6b87a5bba158d85a3c8f4 Mon Sep 17 00:00:00 2001 From: Xiaoguang Sun Date: Tue, 19 Nov 2024 02:29:02 +0800 Subject: [PATCH] variables: Increase default innodb_buffer_pool_size to 4GiB (#57460) close pingcap/tidb#57459 --- pkg/sessionctx/variable/noop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sessionctx/variable/noop.go b/pkg/sessionctx/variable/noop.go index bcfa6d63a0f0a..57976829ba281 100644 --- a/pkg/sessionctx/variable/noop.go +++ b/pkg/sessionctx/variable/noop.go @@ -547,7 +547,7 @@ var noopSysVars = []*SysVar{ {Scope: ScopeNone, Name: "report_port", Value: "3306"}, {Scope: ScopeGlobal | ScopeSession, Name: ShowOldTemporals, Value: Off, Type: TypeBool}, {Scope: ScopeGlobal, Name: "query_cache_limit", Value: "1048576"}, - {Scope: ScopeGlobal, Name: "innodb_buffer_pool_size", Value: "134217728"}, + {Scope: ScopeGlobal, Name: "innodb_buffer_pool_size", Value: "4294967296"}, {Scope: ScopeGlobal, Name: InnodbAdaptiveFlushing, Value: On, Type: TypeBool, AutoConvertNegativeBool: true}, {Scope: ScopeGlobal, Name: "innodb_monitor_enable", Value: ""}, {Scope: ScopeNone, Name: "date_format", Value: "%Y-%m-%d"},