<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.projetoroot.com.br/index.php?action=history&amp;feed=atom&amp;title=Tunning-Mysql</id>
	<title>Tunning-Mysql - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.projetoroot.com.br/index.php?action=history&amp;feed=atom&amp;title=Tunning-Mysql"/>
	<link rel="alternate" type="text/html" href="https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;action=history"/>
	<updated>2026-06-04T01:09:08Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;diff=1161&amp;oldid=prev</id>
		<title>Diegocosta em 00h17min de 20 de fevereiro de 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;diff=1161&amp;oldid=prev"/>
		<updated>2026-02-20T00:17:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;amp;diff=1161&amp;amp;oldid=286&quot;&gt;Mostrar alterações&lt;/a&gt;</summary>
		<author><name>Diegocosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;diff=286&amp;oldid=prev</id>
		<title>Diegocosta em 13h34min de 30 de julho de 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;diff=286&amp;oldid=prev"/>
		<updated>2018-07-30T13:34:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 10h34min de 30 de julho de 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Linha 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   innodb_log_file_size = 16M&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   innodb_log_file_size = 16M&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   innodb_buffer_pool_instances = 1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   innodb_buffer_pool_instances = 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Reiniciar o serviço do Mysql após ajustes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  /etc/init.d/mysql restart&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c2aps2-wiki_:diff::1.12:old-285:rev-286 --&gt;
&lt;/table&gt;</summary>
		<author><name>Diegocosta</name></author>
	</entry>
	<entry>
		<id>https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;diff=285&amp;oldid=prev</id>
		<title>Diegocosta: Criou página com &#039;== Sobre == Olá! Visitante, reunimos aqui, informações sobre o processo de Tunning no Mysql, este procedimento tende a aumentar o desempenho de leitura e escrita em Banco,...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.projetoroot.com.br/index.php?title=Tunning-Mysql&amp;diff=285&amp;oldid=prev"/>
		<updated>2018-07-30T13:32:37Z</updated>

		<summary type="html">&lt;p&gt;Criou página com &amp;#039;== Sobre == Olá! Visitante, reunimos aqui, informações sobre o processo de Tunning no Mysql, este procedimento tende a aumentar o desempenho de leitura e escrita em Banco,...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Sobre ==&lt;br /&gt;
Olá! Visitante, reunimos aqui, informações sobre o processo de Tunning no Mysql, este procedimento tende a aumentar o desempenho de leitura e escrita em Banco, assim aumentando a performance geral do sistema de Banco de Dados em Mysql. Estes ajustes podem auxiliar em momentos que algum sistema ou rede tenham gargalo, ou até mesmo evita um upgrade desnecessário de infra.&lt;br /&gt;
&lt;br /&gt;
== Otimizando Mysql ==&lt;br /&gt;
&lt;br /&gt;
* Baixar o Mysql tunner&lt;br /&gt;
  wget http://mysqltuner.pl/ -O mysqltuner.pl&lt;br /&gt;
  wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt&lt;br /&gt;
&lt;br /&gt;
* Executar Teste&lt;br /&gt;
  perl mysqltuner.pl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Ajustar arquivo my.cf conforme saída do teste&lt;br /&gt;
  nano etc/mysql/my.cf&lt;br /&gt;
&lt;br /&gt;
* exemplo de saída &lt;br /&gt;
&lt;br /&gt;
  -------- Recommendations ---------------------------------------------------------------------------&lt;br /&gt;
    General recommendations:&lt;br /&gt;
     Dedicate this server to your database for highest performance.&lt;br /&gt;
     Reduce or eliminate unclosed connections and network issues&lt;br /&gt;
     Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1&lt;br /&gt;
     When making adjustments, make tmp_table_size/max_heap_table_size equal&lt;br /&gt;
     Reduce your SELECT DISTINCT queries which have no LIMIT clause&lt;br /&gt;
     Performance schema should be activated for better diagnostics&lt;br /&gt;
     Consider installing Sys schema from https://github.com/mysql/mysql-sys&lt;br /&gt;
     Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: http://bit.ly/2wgkDvS&lt;br /&gt;
    &lt;br /&gt;
    Variables to adjust:&lt;br /&gt;
     query_cache_size (=0)&lt;br /&gt;
     query_cache_type (=0)&lt;br /&gt;
     tmp_table_size (&amp;gt; 16M)&lt;br /&gt;
     max_heap_table_size (&amp;gt; 16M)&lt;br /&gt;
     performance_schema = ON enable PFS&lt;br /&gt;
     innodb_log_file_size should be (=16M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.&lt;br /&gt;
     innodb_buffer_pool_instances (=1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Exemplo de ajustes no Arquivo&lt;br /&gt;
&lt;br /&gt;
  query_cache_limit   = 1M&lt;br /&gt;
  #query_cache_size   = 16M&lt;br /&gt;
  query_cache_size    = 0&lt;br /&gt;
  max_heap_table_size = 16M&lt;br /&gt;
  performance_schema = ON&lt;br /&gt;
  &lt;br /&gt;
  query_cache_size = 0&lt;br /&gt;
  query_cache_type = 0&lt;br /&gt;
  innodb_log_file_size = 16M&lt;br /&gt;
  innodb_buffer_pool_instances = 1&lt;/div&gt;</summary>
		<author><name>Diegocosta</name></author>
	</entry>
</feed>