{"id":18,"date":"2009-01-01T07:34:38","date_gmt":"2009-01-01T07:34:38","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=18"},"modified":"2014-06-24T18:59:30","modified_gmt":"2014-06-24T18:59:30","slug":"using-mysqltuner-mysql-optimization-tool","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/using-mysqltuner-mysql-optimization-tool","title":{"rendered":"Using MySQLTuner \u2013 MySQL Optimization Tool"},"content":{"rendered":"<p class=\"MsoNormal\">MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved.<\/p>\n<p class=\"MsoNormal\">Downloading MySQLTuner:<\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">wget http:\/\/mysqltuner.com\/mysqltuner.pl<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">chmod +x mysqltuner.pl<\/span><\/p>\n<p class=\"MsoNormal\">Using MySQLTuner Script for Lampp systems:<\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\">Just replace mysql &amp; mysqladmin commands with respect lampp commands<\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\">vi mysqltuner.pl<\/p>\n<p class=\"MsoNormal\">Press Keys:- &lt;ESC&gt; and &lt;:&gt;<\/p>\n<p class=\"MsoNormal\">Enter:- 1,$s\/\\`mysql\/\\`\\\/opt\\\/lampp\\\/bin\\\/mysql\/g<\/p>\n<p class=\"MsoNormal\"><span style=\"mso-tab-count: 2;\"> <\/span><span style=\"mso-spacerun: yes;\"> <\/span><\/p>\n<p class=\"MsoNormal\">Running mysqltuner and obtaining the performance analysis:<\/p>\n<p class=\"MsoNormal\">Shell&gt; .\/mysqltuner.pl<\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\">Following is the Sample Output from mysqltuner script::<\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\"><span style=\"mso-spacerun: yes;\"> <\/span><span style=\"color: #808080;\">&gt;&gt;\u00a0 MySQLTuner 1.0.0 &#8211; Major Hayden <\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> &gt;&gt;\u00a0 Bug reports, feature requests, and downloads at http:\/\/mysqltuner.com\/<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> &gt;&gt;\u00a0 Run with &#8216;&#8211;help&#8217; for additional options and output filtering<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">Please enter your MySQL administrative login: root<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">Please enter your MySQL administrative password:<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; General Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Skipped version check for MySQLTuner script<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Currently running supported MySQL version 5.0.27-log<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[!!] Switch to 64-bit OS &#8211; MySQL cannot currently use all of your RAM<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; Storage Engine Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Status: +Archive -BDB -Federated -InnoDB -ISAM -NDBCluster<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Data in MyISAM tables: 33G (Tables: 1013)<\/span><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Data in ARCHIVE tables: 22B (Tables: 1)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[!!] Total fragmented tables: 71<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; Performance Metrics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Up for: 22d 7h 48m 16s (2B q [1K qps], 557K conn, TX: 1B, RX: 3B)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Reads \/ Writes: 15% \/ 85%<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[&#8211;] Total buffers: 1.2G global + 12.3M per thread (100 max threads)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[!!] Allocating &gt; 2GB RAM on 32-bit systems can cause system instability<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[!!] Maximum possible memory usage: 2.4G (59% of installed RAM)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Slow queries: 0% (7K\/2B)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Highest usage of available connections: 25% (25\/100)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Key buffer size \/ total MyISAM indexes: 1.0G\/4.6G<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Key buffer hit rate: 99.7% (8B cached \/ 30M reads)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Query cache efficiency: 49.2% (1M cached \/ 2M selects)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Query cache prunes per day: 0<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Sorts requiring temporary tables: 0% (207 temp sorts \/ 49M sorts)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Temporary tables created on disk: 9% (46K on disk \/ 511K total)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Thread cache hit rate: 99% (269 created \/ 557K connections)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[!!] Table cache hit rate: 0% (64 open \/ 1M opened)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Open file limit used: 10% (112\/1K)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">[OK] Table locks acquired immediately: 99% (224M immediate \/ 224M locks)<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; Recommendations &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">General recommendations:<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> Run OPTIMIZE TABLE to defragment tables for better performance<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> Increase table_cache gradually to avoid file descriptor limits<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\">Variables to adjust:<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"color: #808080;\"> table_cache (&gt; 64)<\/span><\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Using MySQLTuner &#8211; MySQL Optimization Tool<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved.<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Downloading MySQLTuner:<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">wget http:\/\/mysqltuner.com\/mysqltuner.pl<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">chmod +x mysqltuner.pl<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Using MySQLTuner Script for Lampp systems:<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Just replace mysql &amp; mysqladmin commands with respect lampp commands<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">vi mysqltuner.pl<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Press Keys:- &lt;ESC&gt; and &lt;:&gt;<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Enter:- 1,$s\/\\`mysql\/\\`\\\/opt\\\/lampp\\\/bin\\\/mysql\/g<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"><span style=\"color: #808080;\"> <\/span><\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Running mysqltuner and obtaining the performance analysis:<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Shell&gt; .\/mysqltuner.pl<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Following is the Sample Output from mysqltuner script::<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&gt;&gt; \u00a0MySQLTuner 1.0.0 &#8211; Major Hayden<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&gt;&gt; \u00a0Bug reports, feature requests, and downloads at http:\/\/mysqltuner.com\/<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&gt;&gt; \u00a0Run with &#8216;&#8211;help&#8217; for additional options and output filtering<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Please enter your MySQL administrative login: root<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Please enter your MySQL administrative password:<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; General Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Skipped version check for MySQLTuner script<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Currently running supported MySQL version 5.0.27-log<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[!!] Switch to 64-bit OS &#8211; MySQL cannot currently use all of your RAM<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; Storage Engine Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Status: +Archive -BDB -Federated -InnoDB -ISAM -NDBCluster<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Data in MyISAM tables: 33G (Tables: 1013)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Data in ARCHIVE tables: 22B (Tables: 1)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[!!] Total fragmented tables: 71<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; Performance Metrics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Up for: 22d 7h 48m 16s (2B q [1K qps], 557K conn, TX: 1B, RX: 3B)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Reads \/ Writes: 15% \/ 85%<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[&#8211;] Total buffers: 1.2G global + 12.3M per thread (100 max threads)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[!!] Allocating &gt; 2GB RAM on 32-bit systems can cause system instability<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[!!] Maximum possible memory usage: 2.4G (59% of installed RAM)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Slow queries: 0% (7K\/2B)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Highest usage of available connections: 25% (25\/100)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Key buffer size \/ total MyISAM indexes: 1.0G\/4.6G<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Key buffer hit rate: 99.7% (8B cached \/ 30M reads)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Query cache efficiency: 49.2% (1M cached \/ 2M selects)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Query cache prunes per day: 0<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Sorts requiring temporary tables: 0% (207 temp sorts \/ 49M sorts)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Temporary tables created on disk: 9% (46K on disk \/ 511K total)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Thread cache hit rate: 99% (269 created \/ 557K connections)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[!!] Table cache hit rate: 0% (64 open \/ 1M opened)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Open file limit used: 10% (112\/1K)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">[OK] Table locks acquired immediately: 99% (224M immediate \/ 224M locks)<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">&#8212;&#8212;&#8211; Recommendations &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">General recommendations:<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Run OPTIMIZE TABLE to defragment tables for better performance<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Increase table_cache gradually to avoid file descriptor limits<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">Variables to adjust:<\/span><\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"color: #808080;\">table_cache (&gt; 64)<\/span><\/div>\n<p><span style=\"color: #808080;\"><br \/>\n<\/span><\/p>\n<p><script charset=\"utf-8\" type=\"text\/javascript\" src=\"http:\/\/ws.amazon.com\/widgets\/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822\/US\/httpkedarnitt-20\/8001\/29266fe4-10b4-4f4a-bf7f-c5dc0ffee5a2\"> <\/script> <noscript><a HREF=\"http:\/\/ws.amazon.com\/widgets\/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fhttpkedarnitt-20%2F8001%2F29266fe4-10b4-4f4a-bf7f-c5dc0ffee5a2&#038;Operation=NoScript\">Amazon.com Widgets<\/a><\/noscript><\/p>\n","protected":false},"excerpt":{"rendered":"MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,377],"tags":[427,77,221,220],"class_list":{"0":"post-18","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-mysql","7":"category-mysql-articles","8":"tag-mysql","9":"tag-mysqltuner","10":"tag-using-mysqltuner","11":"tag-wget-mysqltuner"},"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":3,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":1976,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions\/1976"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}