Jcrespo has uploaded a new change for review. https://gerrit.wikimedia.org/r/243373
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(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/73/243373/1 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: newchange Gerrit-Change-Id: Ib5ad9bca69aef93d0916b86d93b10ec232b9267e Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Jcrespo <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
