From b97b2bdecd9c1b81440ba003f13ac86027f537a8 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Tue, 17 Oct 2023 12:27:06 +0200 Subject: [PATCH] chore(sql): raise configuration values for open table caches --- k8s/helmfile/env/local/sql.values.yaml.gotmpl | 4 ++++ k8s/helmfile/env/production/sql.values.yaml.gotmpl | 4 ++++ k8s/helmfile/env/staging/sql.values.yaml.gotmpl | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/k8s/helmfile/env/local/sql.values.yaml.gotmpl b/k8s/helmfile/env/local/sql.values.yaml.gotmpl index 43938cade..d18d2cba1 100644 --- a/k8s/helmfile/env/local/sql.values.yaml.gotmpl +++ b/k8s/helmfile/env/local/sql.values.yaml.gotmpl @@ -43,6 +43,10 @@ primary: # 100MB, default & bitnami was 1GB (1073741824) max_binlog_size=107374182 + # T348842 + table_open_cache=4096 + table_definition_cache=4096 + [mysql] # https://forums.mysql.com/read.php?103,189835,192421#msg-192421 default-character-set=UTF8 diff --git a/k8s/helmfile/env/production/sql.values.yaml.gotmpl b/k8s/helmfile/env/production/sql.values.yaml.gotmpl index a3d6f8c28..cf80df094 100644 --- a/k8s/helmfile/env/production/sql.values.yaml.gotmpl +++ b/k8s/helmfile/env/production/sql.values.yaml.gotmpl @@ -46,6 +46,10 @@ primary: # 100MB, default & bitnami was 1GB (1073741824) max_binlog_size=107374182 + # T348842 + table_open_cache=4096 + table_definition_cache=4096 + [mysql] # https://forums.mysql.com/read.php?103,189835,192421#msg-192421 default-character-set=UTF8 diff --git a/k8s/helmfile/env/staging/sql.values.yaml.gotmpl b/k8s/helmfile/env/staging/sql.values.yaml.gotmpl index 84281d32b..080192224 100644 --- a/k8s/helmfile/env/staging/sql.values.yaml.gotmpl +++ b/k8s/helmfile/env/staging/sql.values.yaml.gotmpl @@ -36,6 +36,10 @@ primary: # 100MB, default & bitnami was 1GB (1073741824) max_binlog_size=107374182 + # T348842 + table_open_cache=4096 + table_definition_cache=4096 + [mysql] # https://forums.mysql.com/read.php?103,189835,192421#msg-192421 default-character-set=UTF8