diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml index ffc1057bc..6460eac71 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml @@ -9,7 +9,8 @@ data: innodb_log_file_size = 256M innodb_flush_log_at_trx_commit = 2 innodb_write_io_threads = 8 + innodb_io_capacity = 1000 max_allowed_packet = 256M slow_query_log = true slow_query_log-file = /var/log/mysql/mysql-slow.log - long_query_time = 0 + long_query_time = 0.01 diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mariadb/mariadb.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mariadb/mariadb.yaml index 43e0a2247..971234020 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mariadb/mariadb.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-minecraft/mariadb/mariadb.yaml @@ -27,6 +27,15 @@ spec: accessModes: - ReadWriteOnce + myCnf: | + [mariadb] + innodb_buffer_pool_size = 1G + innodb_log_file_size = 256M + innodb_flush_log_at_trx_commit = 2 + innodb_write_io_threads = 8 + innodb_io_capacity = 1000 + max_allowed_packet = 256M + livenessProbe: exec: command: diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/mariadb/mariadb.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/mariadb/mariadb.yaml index 6cef68e77..a097e16de 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/mariadb/mariadb.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/mariadb/mariadb.yaml @@ -27,6 +27,15 @@ spec: accessModes: - ReadWriteOnce + myCnf: | + [mariadb] + innodb_buffer_pool_size = 1G + innodb_log_file_size = 256M + innodb_flush_log_at_trx_commit = 2 + innodb_write_io_threads = 8 + innodb_io_capacity = 1000 + max_allowed_packet = 256M + livenessProbe: exec: command: