{"id":2146,"date":"2018-10-13T17:11:26","date_gmt":"2018-10-13T17:11:26","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2146"},"modified":"2018-10-13T17:46:07","modified_gmt":"2018-10-13T17:46:07","slug":"troubleshoot-mysql-performance","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/troubleshoot-mysql-performance\/","title":{"rendered":"Troubleshoot MySQL Performance"},"content":{"rendered":"<p>Login to MySQL<\/p>\n<pre>mysql -u root -p<\/pre>\n<p><strong>Show Active processes<\/strong><\/p>\n<pre>SHOW PROCESSLIST;<\/pre>\n<p>or to list all the processes use &#8220;FULL&#8221;<\/p>\n<pre>SHOW FULL PROCESSLIST;<\/pre>\n<p><strong>Run MySQL optimizer<\/strong><\/p>\n<pre>wget https:\/\/raw.githubusercontent.com\/major\/MySQLTuner-perl\/master\/mysqltuner.pl\r\nperl .\/mysqltuner.pl<\/pre>\n<p>MySQL tuner should give some recommendations on settings to tweak.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Login to MySQL mysql -u root -p Show Active processes SHOW PROCESSLIST; or to list all the processes use &#8220;FULL&#8221; SHOW FULL PROCESSLIST; Run MySQL optimizer wget https:\/\/raw.githubusercontent.com\/major\/MySQLTuner-perl\/master\/mysqltuner.pl perl .\/mysqltuner.pl MySQL tuner should give some recommendations on settings to tweak.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,135],"tags":[521,7,282,136,520,283],"class_list":["post-2146","post","type-post","status-publish","format-standard","hentry","category-linux","category-mysql","tag-databases","tag-linux-2","tag-mariadb","tag-mysql-2","tag-mysql-server","tag-sql"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2146"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2146\/revisions"}],"predecessor-version":[{"id":2148,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2146\/revisions\/2148"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}