Jcrespo has submitted this change and it was merged.

Change subject: Add automatic buffer pool dumping for tools
......................................................................


Add automatic buffer pool dumping for tools

These are only compatible with 5.6/10, but only take effect when
restarting. If we restart tool, we should upgrade it to 5.6/10
anyway.

Not having this, however, will make the restart much slower on 5.6/
10 due to the long warmup phase.

Change-Id: Ib5ad9bca69aef93d0916b86d93b10ec232b9267e
References: T88718
---
M templates/mariadb/tools.my.cnf.erb
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jcrespo: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/mariadb/tools.my.cnf.erb 
b/templates/mariadb/tools.my.cnf.erb
index e5621c6..5886a2b 100644
--- a/templates/mariadb/tools.my.cnf.erb
+++ b/templates/mariadb/tools.my.cnf.erb
@@ -57,6 +57,10 @@
 innodb_stats_sample_pages      = 16
 innodb_stats_method            = nulls_unequal
 
+# dump and load innodb buffer at start and stop
+innodb_buffer_pool_load_at_startup  = 1
+innodb_buffer_pool_dump_at_shutdown = 1
+
 [mysqldump]
 
 quick

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5ad9bca69aef93d0916b86d93b10ec232b9267e
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to