{"id":3168,"date":"2016-11-11T17:59:18","date_gmt":"2016-11-11T22:59:18","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=3168"},"modified":"2016-11-11T17:59:18","modified_gmt":"2016-11-11T22:59:18","slug":"tweak-mysql-server","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/","title":{"rendered":"How to Tweak Your MySQL Server"},"content":{"rendered":"<p>The MySQL relational database management system is highly configurable. Once you have installed MySQL on your Linux server there are an enormous number of ways that you may tune it to suit your needs. This present tutorial is designed to introduce you to the basics of MySQL tuning by taking you through the deployment and execution of a few tuning scripts. This tutorial should be applicable to any variety of Linux server.<\/p>\n<h2>Tutorial<\/h2>\n<p>In order to tune your MySQL instance exactly as you want it you need to know what all the MySQL configuration variables are and what they do. However, there are a few scripts out there that will enable you to accomplish a fair bit of tuning without such extensive knowledge. We will show you how to use two of the most widely used tuning scripts to get you started. Once we have shown you the basics, you will be ready to learn more by delving into the manual tuning sections of the official documentation for MySQL official documentation.<\/p>\n<p><strong>Before You Tune<\/strong><\/p>\n<p>Tuning scripts are typically designed to provide you with recommendations for how to tune your MySQL instance based on how MySQL is used on your server. Therefore, it is imperative that you only run tuning scripts when the MySQL instance has been up and running for at least the previous 24 hours. Furthermore, the traffic from the previous 24 hours needs to have been typical of the traffic on the server. Assuming you have had normal traffic, the recommended sampling time should provide the scripts with enough reliable data on your MySQL instance to make recommendations that will make your configuration serve your needs better.<\/p>\n<p>As you may have guessed, tuning is not generally effective in development environments. Tuning is designed to take advantage of the use metrics in your production environment to drive changes in the configuration of that instance. The development environment simply will not see such traffic.<\/p>\n<p><strong>Downloading the scripts<\/strong><\/p>\n<p>Download both tuning scripts. These can be placed in whichever folder you wish. We\u2019ll use \/root for convenience.<\/p>\n<p><code>wget https:\/\/raw.githubusercontent.com\/major\/MySQLTuner-perl\/master\/mysqltuner.pl<br \/>\nwget https:\/\/launchpadlibrarian.net\/78745738\/tuning-primer.sh<\/code><\/p>\n<p>Make the scripts executable with the following command:<\/p>\n<p><code>chmod +x mysqltuner.pl<br \/>\nchmod +x tuning-primer.sh<\/code><\/p>\n<p><strong>Executing the Scripts<\/strong><\/p>\n<p>Once the scripts are in place, we are ready to execute them.<\/p>\n<p>The first script (mysqltuner.pl) is designed to provide recommendations. This script is especially useful for beginners. The second script (tuning-primer.sh) simply provides data. The latter is recommended for advanced users, as the data it provides will point such users to the configuration parameters they need to change in order to optimize their setup.<\/p>\n<p>Run mysqltuner.pl<\/p>\n<p><code>root@server [~]# .\/mysqltuner.pl<\/code><br \/>\n<code class=\"gris\"> >>  MySQLTuner 1.2.0 - Major Hayden <major@mhtx.net><br \/>\n >>  Bug reports, feature requests, and downloads at http:\/\/mysqltuner.com\/<br \/>\n >>  Run with '--help' for additional options and output filtering<br \/>\n-------- General Statistics --------------------------------------------------<br \/>\n[--] Skipped version check for MySQLTuner script<br \/>\n[OK] Currently running supported MySQL version 5.5.52-cll<br \/>\n[OK] Operating on 64-bit architecture<br \/>\n-------- Storage Engine Statistics -------------------------------------------<br \/>\n[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster<br \/>\n[--] Data in MyISAM tables: 591M (Tables: 339)<br \/>\n[--] Data in InnoDB tables: 7G (Tables: 3641)<br \/>\n[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)<br \/>\n[--] Data in MEMORY tables: 1M (Tables: 136)<br \/>\n[!!] Total fragmented tables: 467<br \/>\n-------- Security Recommendations  -------------------------------------------<br \/>\n[OK] All database users have passwords assigned<br \/>\n-------- Performance Metrics -------------------------------------------------<br \/>\n[--] Up for: 4d 11h 54m 43s (526M q [1K qps], 1M conn, TX: 364B, RX: 235B)<br \/>\n[--] Reads \/ Writes: 92% \/ 8%<br \/>\n[--] Total buffers: 2.1G global + 6.5M per thread (512 max threads)<br \/>\n[OK] Maximum possible memory usage: 5.3G (34% of installed RAM)<br \/>\n[OK] Slow queries: 0% (433\/526M)<br \/>\n[OK] Highest usage of available connections: 12% (63\/512)<br \/>\n[OK] Key buffer size \/ total MyISAM indexes: 32.0M\/261.5M<br \/>\n[OK] Key buffer hit rate: 100.0% (418M cached \/ 178K reads)<br \/>\n[OK] Query cache efficiency: 83.5% (419M cached \/ 502M selects)<br \/>\n[!!] Query cache prunes per day: 15833584<br \/>\n[OK] Sorts requiring temporary tables: 0% (1K temp sorts \/ 30M sorts)<br \/>\n[!!] Joins performed without indexes: 145541<br \/>\n[!!] Temporary tables created on disk: 32% (7M on disk \/ 21M total)<br \/>\n[OK] Thread cache hit rate: 99% (2K created \/ 1M connections)<br \/>\n[!!] Table cache hit rate: 1% (5K open \/ 329K opened)<br \/>\n[OK] Open file limit used: 1% (866\/50K)<br \/>\n[OK] Table locks acquired immediately: 99% (185M immediate \/ 185M locks)<br \/>\n[!!] InnoDB data size \/ buffer pool: 7.7G\/2.0G<br \/>\n-------- Recommendations -----------------------------------------------------<br \/>\nGeneral recommendations:<br \/>\n    Run OPTIMIZE TABLE to defragment tables for better performance<br \/>\n    Enable the slow query log to troubleshoot bad queries<br \/>\n    Adjust your join queries to always utilize indexes<br \/>\n    When making adjustments, make tmp_table_size\/max_heap_table_size equal<br \/>\n    Reduce your SELECT DISTINCT queries without LIMIT clauses<br \/>\n    Increase table_cache gradually to avoid file descriptor limits<br \/>\nVariables to adjust:<br \/>\n    query_cache_size (> 32M)<br \/>\n    join_buffer_size (> 2.0M, or always use indexes with joins)<br \/>\n    tmp_table_size (> 16M)<br \/>\n    max_heap_table_size (> 16M)<br \/>\n    table_cache (> 6000)<br \/>\n    innodb_buffer_pool_size (>= 7G)<\/code><\/p>\n<p>In our example, the output of the script indicates we should increase the value of a few parameters in our primary MySQL configuration file, my.cnf.<\/p>\n<p>We can edit the file and add\/modify the corresponding entries like so:<\/p>\n<p><code>nano \/etc\/my.cnf<\/code><\/p>\n<p>The updated file looks like this:<br \/>\n<code class=\"gris\">max_connections = 512<br \/>\nquery_cache_size = 32M<br \/>\nquery_cache_limit = 4M<br \/>\nthread_cache_size = 8<br \/>\ntable_cache = 12000<br \/>\ntable_definition_cache = 6000<br \/>\nopen_files_limit = 50000<br \/>\njoin_buffer_size = 2M<br \/>\nread_buffer_size = 2M<br \/>\nsort_buffer_size = 2M<br \/>\nkey_buffer_size = 32M<br \/>\ninnodb_buffer_pool_size = 2048M<br \/>\nmax_allowed_packet=268435456<br \/>\ndefault-storage-engine=MyISAM<\/code><\/p>\n<p>In our example, we had already applied some changes. We&#8217;ll modify the corresponding entries according to the proposed tweaks. <\/p>\n<p>The script is not perfect. Some of its recommendations are counterproductive. For instance, the script will often incorrectly indicate that the join_buffer_size needs to be raised in response to the execution of non-indexed join inquiries. Regardless of the scripts output, we have found that keeping the join_buffer_size under 4M consistently helps maximize performance. We\u2019ll set it at 3M here.<\/p>\n<p>Another parameter the script often recommends increasing is the innodb_buffer_pool_size. When increasing this, make sure you do not set it such that you exceed the RAM memory available on your server. If you do so, your server will probably crash when the buffer pool size approaches its maximum. In our scenario, our system has about 2 to 3GB of usable RAM. To be safe, we will set the innodb buffer pool to be about half of that, or 1024 M. If the script recommends you increase this buffer pool size beyond what your server can handle, we would recommend you add more RAM so that your server can meet your needs.<\/p>\n<p><code class=\"gris\">query_cache_size = 48M<br \/>\njoin_buffer_size = 3M<br \/>\ntmp_table_size = 32M<br \/>\nmax_heap_table_size = 32M<br \/>\ntable_cache = 12000<br \/>\ninnodb_buffer_pool_size = 3096M<\/code><\/p>\n<p>After making the adjustments described above, the tweak section of our my.cnf file should look as follows:<\/p>\n<p><code class=\"gris\">max_connections = 512<br \/>\nquery_cache_size = 48M<br \/>\nquery_cache_limit = 4M<br \/>\nthread_cache_size = 8<br \/>\ntable_cache = 12000<br \/>\nmax_heap_table_size = 32M<br \/>\ntmp_table_size = 32M<br \/>\ntable_definition_cache = 12000<br \/>\nopen_files_limit = 50000<br \/>\njoin_buffer_size = 3M<br \/>\nread_buffer_size = 2M<br \/>\nsort_buffer_size = 2M<br \/>\nkey_buffer_size = 32M<br \/>\ninnodb_buffer_pool_size = 3096M<br \/>\nmax_allowed_packet=268435456<br \/>\ndefault-storage-engine=MyISAM<\/code><\/p>\n<p>Next, we will run tuning-primer.sh using the command below. Do this before you restart the mysql daemon. This script will provide us data that will help us to know if the tweaks we intend to apply are likely to help. In this scenario, the second script really just serves to confirm what the first script said. <\/p>\n<p><code>root@server [~]# .\/tuning-primer.sh <\/code><\/p>\n<p><code class=\"gris\">        -- MYSQL PERFORMANCE TUNING PRIMER --<br \/>\n             - By: Matthew Montgomery -<br \/>\nMySQL Version 5.5.52-cll x86_64<br \/>\nUptime = 4 days 12 hrs 5 min 53 sec<br \/>\nAvg. qps = 1353<br \/>\nTotal Questions = 526850500<br \/>\nThreads Connected = 13<br \/>\n<\/br><br \/>\nServer has been running for over 48hrs.<br \/>\nIt should be safe to follow these recommendations<br \/>\nTo find out more information on how each of these<br \/>\nruntime variables effects performance visit:<br \/>\nhttp:\/\/dev.mysql.com\/doc\/refman\/5.5\/en\/server-system-variables.html<br \/>\nVisit http:\/\/www.mysql.com\/products\/enterprise\/advisors.html<br \/>\nfor info about MySQL's Enterprise Monitoring and Advisory Service<br \/>\n<\/br><br \/>\nSLOW QUERIES<br \/>\nThe slow query log is NOT enabled.<br \/>\nCurrent long_query_time = 10.000000 sec.<br \/>\nYou have 433 out of 526850789 that take longer than 10.000000 sec. to complete<br \/>\nYour long_query_time seems to be fine<br \/>\n<\/br><br \/>\nBINARY UPDATE LOG<br \/>\nThe binary update log is NOT enabled.<br \/>\nYou will not be able to do point in time recovery<br \/>\nSee http:\/\/dev.mysql.com\/doc\/refman\/5.5\/en\/point-in-time-recovery.html<br \/>\n<\/br><br \/>\nWORKER THREADS<br \/>\nCurrent thread_cache_size = 8<br \/>\nCurrent threads_cached = 2<br \/>\nCurrent threads_per_sec = 0<br \/>\nHistoric threads_per_sec = 0<br \/>\nYour thread_cache_size is fine<br \/>\n<\/br><br \/>\nMAX CONNECTIONS<br \/>\nCurrent max_connections = 512<br \/>\nCurrent threads_connected = 14<br \/>\nHistoric max_used_connections = 63<br \/>\nThe number of used connections is 12% of the configured maximum.<br \/>\nYour max_connections variable seems to be fine.<br \/>\n<\/br><br \/>\nINNODB STATUS<br \/>\nCurrent InnoDB index space = 6.44 G<br \/>\nCurrent InnoDB data space = 7.70 G<br \/>\nCurrent InnoDB buffer pool free = 0 %<br \/>\nCurrent innodb_buffer_pool_size = 2.00 G<br \/>\nDepending on how much space your innodb indexes take up it may be safe<br \/>\nto increase this value to up to 2 \/ 3 of total system memory<br \/>\n<\/br><br \/>\nMEMORY USAGE<br \/>\nMax Memory Ever Allocated : 2.47 G<br \/>\nConfigured Max Per-thread Buffers : 3.25 G<br \/>\nConfigured Max Global Buffers : 2.07 G<br \/>\nConfigured Max Memory Limit : 5.32 G<br \/>\nPhysical Memory : 15.53 G<br \/>\nMax memory limit seem to be within acceptable norms<br \/>\n<\/br><br \/>\nKEY BUFFER<br \/>\nCurrent MyISAM index space = 261 M<br \/>\nCurrent key_buffer_size = 32 M<br \/>\nKey cache miss rate is 1 : 2345<br \/>\nKey buffer free ratio = 25 %<br \/>\nYour key_buffer_size seems to be too high.<br \/>\nPerhaps you can use these resources elsewhere<br \/>\n<\/br><br \/>\nQUERY CACHE<br \/>\nQuery cache is enabled<br \/>\nCurrent query_cache_size = 32 M<br \/>\nCurrent query_cache_used = 22 M<br \/>\nCurrent query_cache_limit = 4 M<br \/>\nCurrent Query cache Memory fill ratio = 71.32 %<br \/>\nCurrent query_cache_min_res_unit = 4 K<br \/>\nMySQL won't cache query results that are larger than query_cache_limit in size<br \/>\n<\/br><br \/>\nSORT OPERATIONS<br \/>\nCurrent sort_buffer_size = 2 M<br \/>\nCurrent read_rnd_buffer_size = 256 K<br \/>\nSort buffer seems to be fine<br \/>\n<\/br><br \/>\nJOINS<br \/>\nCurrent join_buffer_size = 2.00 M<br \/>\nYou have had 145555 queries where a join could not use an index properly<br \/>\nYou should enable \"log-queries-not-using-indexes\"<br \/>\nThen look for non indexed joins in the slow query log.<br \/>\nIf you are unable to optimize your queries you may want to increase your<br \/>\njoin_buffer_size to accommodate larger joins in one pass.<br \/>\nNote! This script will still suggest raising the join_buffer_size when<br \/>\nANY joins not using indexes are found.<br \/>\n<\/br><br \/>\nOPEN FILES LIMIT<br \/>\nCurrent open_files_limit = 50000 files<br \/>\nThe open_files_limit should typically be set to at least 2x-3x<br \/>\nthat of table_cache if you have heavy MyISAM usage.<br \/>\nYour open_files_limit value seems to be fine<br \/>\n<\/br><br \/>\nTABLE CACHE<br \/>\nCurrent table_open_cache = 6000 tables<br \/>\nCurrent table_definition_cache = 6000 tables<br \/>\nYou have a total of 4157 tables<br \/>\nYou have 5857 open tables.<br \/>\nCurrent table_cache hit rate is 1%<br \/>\n, while 97% of your table cache is in use<br \/>\nYou should probably increase your table_cache<br \/>\n<\/br><br \/>\nTEMP TABLES<br \/>\nCurrent max_heap_table_size = 16 M<br \/>\nCurrent tmp_table_size = 16 M<br \/>\nOf 14447005 temp tables, 32% were created on disk<br \/>\nPerhaps you should increase your tmp_table_size and\/or max_heap_table_size<br \/>\nto reduce the number of disk-based temporary tables<br \/>\nNote! BLOB and TEXT columns are not allow in memory tables.<br \/>\nIf you are using these columns raising these values might not impact your<br \/>\nratio of on disk temp tables.<br \/>\n<\/br><br \/>\nTABLE SCANS<br \/>\nCurrent read_buffer_size = 2 M<br \/>\nCurrent table scan ratio = 1002 : 1<br \/>\nread_buffer_size seems to be fine<br \/>\n<\/br><br \/>\nTABLE LOCKING<br \/>\nCurrent Lock Wait ratio = 1 : 31200<br \/>\nYour table locking seems to be fine<\/code><\/p>\n<p>This output indicates that the tweaks made in response to mysqltuner.pl are likely to be beneficial.<\/p>\n<p>The tuning-primer.sh script shows that the table cache was getting full. An increase will help. The same is true of our indoor buffer pool. Recall that we had raised the join_buffer_size in response to the large amount of join queries without indexes; however the present script indicates, as we predicted, that such an increase will not address the performance issue. Rather, we will need to add indexes to the join queries in question.<\/p>\n<p>With the results of the two scripts, we can be confident that the recommended tweaks will improve the performance of our MySQL instance.<\/p>\n<p><strong>Restart your MySQL instance<\/strong><\/p>\n<p>To apply the tweaks made the MySQL configuration file (\/etc\/my.cnf), restart the mysql daemon.<\/p>\n<p><code>root@server [~]# service mysql restart<\/code><br \/>\n<code class=\"gris\">Shutting down MySQL.....                                   [  OK  ]<br \/>\nStarting MySQL..                                           [  OK  ]<br \/>\nroot@server [~]#<\/code><\/p>\n<p>Your MySQL instance has been tuned. Going forward, further tuning may be necessary if there are changes in server traffic related to your databases. If you conclude that the performance of your MySQL instance is still not what you want it to be, let your server run for 24 to 48 hours and run the scripts again. We suggest you repeat this process until you have no further recommendations to apply on your server.<\/p>\n<h2>Conclusion<\/h2>\n<p>Your MySQL instance should now perform better than ever. With the knowledge you have gained here, you are ready to explore further tuning using the official MySQL documentation. <\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>The MySQL relational database management system is highly configurable. Once you have installed MySQL on your Linux server there are an enormous number of ways that you may tune it to suit your needs. This present tutorial is designed to introduce you to the basics of MySQL tuning by taking you through the deployment and<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-3168","post","type-post","status-publish","format-standard","hentry","category-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Tweak Your MySQL Server - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to tweak your MySQL server. Read now &amp; Discover number of ways that you may tune it to suit your needs!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Tweak Your MySQL Server - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to tweak your MySQL server. Read now &amp; Discover number of ways that you may tune it to suit your needs!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-11T22:59:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/\",\"name\":\"How to Tweak Your MySQL Server - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"datePublished\":\"2016-11-11T22:59:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to tweak your MySQL server. Read now & Discover number of ways that you may tune it to suit your needs!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Tweak Your MySQL Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Tweak Your MySQL Server - Globo.Tech","description":"This tutorial will show you how to tweak your MySQL server. Read now & Discover number of ways that you may tune it to suit your needs!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Tweak Your MySQL Server - Globo.Tech","og_description":"This tutorial will show you how to tweak your MySQL server. Read now & Discover number of ways that you may tune it to suit your needs!","og_url":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/","og_site_name":"Globo.Tech","article_published_time":"2016-11-11T22:59:18+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/","url":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/","name":"How to Tweak Your MySQL Server - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-11-11T22:59:18+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to tweak your MySQL server. Read now & Discover number of ways that you may tune it to suit your needs!","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/tweak-mysql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Tweak Your MySQL Server"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/3168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=3168"}],"version-history":[{"count":2,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/3168\/revisions"}],"predecessor-version":[{"id":3170,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/3168\/revisions\/3170"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=3168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=3168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=3168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}