Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/91775


Change subject: Update my.cnf
......................................................................

Update my.cnf

Change-Id: I75d2fa1e9a03a62b6d15a8631f384b5b6f3cf1cb
---
M puppet/modules/mariadb/manifests/init.pp
1 file changed, 13 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/75/91775/1

diff --git a/puppet/modules/mariadb/manifests/init.pp 
b/puppet/modules/mariadb/manifests/init.pp
index 37381c4..d0b0622 100644
--- a/puppet/modules/mariadb/manifests/init.pp
+++ b/puppet/modules/mariadb/manifests/init.pp
@@ -12,7 +12,18 @@
     require => Apt::Source['mariadb'],
     override_options => {
       mysqld => {
-        character-set-server => 'utf8'
+        character-set-server            => 'utf8',
+        innodb_additional_mem_pool_size => '400M',
+        innodb_buffer_pool_size         => '8G',
+        innodb_file_per_table           => 'true',
+        innodb_log_file_size            => '500M',
+        key_buffer                      => '64M',
+        log_slow_queries                => '/var/log/mysql/mysql-slow.log',
+        long_query_time                 => '1',
+        query_cache_size                => '0',
+        query_cache_type                => '0',
+        ssl                             => '0',
+        table_cache                     => '750'
       },
       client => {
         default-character-set => 'utf8'
@@ -22,6 +33,6 @@
 
   class { '::mysql::client':
     package_name => 'mariadb-client',
-    require => Apt::Source['mariadb']
+    require      => Apt::Source['mariadb']
   }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/91775
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I75d2fa1e9a03a62b6d15a8631f384b5b6f3cf1cb
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to