]> git.openstreetmap.org Git - chef.git/commitdiff
Tune mysql for matomo on smaug
authorTom Hughes <tom@compton.nu>
Fri, 30 Dec 2022 22:16:24 +0000 (22:16 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 30 Dec 2022 22:16:32 +0000 (22:16 +0000)
roles/matomo.rb

index 1cd95a19632c0048e6aa675d7ebb3bc23820b033..f171e437a79022e5338daf94e477bdfa8a05cbe0 100644 (file)
@@ -16,12 +16,13 @@ default_attributes(
   :mysql => {
     :settings => {
       :mysqld => {
-        :innodb_buffer_pool_instances => "64",
-        :innodb_buffer_pool_size => "64GB",
+        :innodb_buffer_pool_instances => "128",
+        :innodb_buffer_pool_size => "128GB",
         :innodb_flush_log_at_trx_commit => "2",
-        :innodb_log_file_size => "8GB",
-        :join_buffer_size => "256KB",
-        :key_buffer_size => "0"
+        :innodb_log_file_size => "16GB",
+        :join_buffer_size => "1GB",
+        :key_buffer_size => "0",
+        :max_connections => "64"
       }
     }
   }