{"id":2634,"date":"2020-06-03T15:34:34","date_gmt":"2020-06-03T11:04:34","guid":{"rendered":"https:\/\/www.dadekavan.ir\/blog\/?p=2634"},"modified":"2024-10-26T17:07:39","modified_gmt":"2024-10-26T13:37:39","slug":"mysql-mariadb-percona-performance-and-security-tuning-linux","status":"publish","type":"post","link":"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/","title":{"rendered":"\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0633\u0631\u0639\u062a \u0648 \u0627\u0645\u0646\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 MySQL \u0648 MariaDB \u0631\u0648\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter-rtl ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0641\u0647\u0631\u0633\u062a \u0645\u0637\u0627\u0644\u0628<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D9%BE%DB%8C%D8%B4%E2%80%8C%D9%86%DB%8C%D8%A7%D8%B2%D9%87%D8%A7\" >\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D9%86%D8%B5%D8%A8_%D8%A8%D8%B3%D8%AA%D9%87_%D9%87%D8%A7%DB%8C_%D9%BE%DB%8C%D8%B4%E2%80%8C%D9%86%DB%8C%D8%A7%D8%B2\" >\u0646\u0635\u0628 \u0628\u0633\u062a\u0647 \u0647\u0627\u06cc \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D8%AF%D8%B1%DB%8C%D8%A7%D9%81%D8%AA_%D8%A7%D8%A8%D8%B2%D8%A7%D8%B1_MySQLTuner\" >\u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u0628\u0632\u0627\u0631 MySQLTuner<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D8%A7%D8%AC%D8%B1%D8%A7%DB%8C_%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA_MySQLTuner\" >\u0627\u062c\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a MySQLTuner<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D8%A7%D8%B9%D9%85%D8%A7%D9%84_%D8%AA%D9%86%D8%B8%DB%8C%D9%85%D8%A7%D8%AA_%D9%BE%DB%8C%D8%B4%D9%86%D9%87%D8%A7%D8%AF%DB%8C\" >\u0627\u0639\u0645\u0627\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D9%86%DA%A9%D8%A7%D8%AA_%D9%85%D9%87%D9%85_%D9%88_%DA%A9%D9%84%DB%8C%D8%AF%DB%8C_%D8%AF%D8%B1_%D8%A7%D8%B3%D8%AA%D9%81%D8%A7%D8%AF%D9%87_%D8%A7%D8%B2_%D8%A7%DB%8C%D9%86_%D8%A7%D8%A8%D8%B2%D8%A7%D8%B1\" >\u0646\u06a9\u0627\u062a \u0645\u0647\u0645 \u0648 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#%D9%86%D8%B3%D8%AE%D9%87_%D9%87%D8%A7%DB%8C_%D8%B3%D8%A7%D8%B2%DA%AF%D8%A7%D8%B1_%D8%A8%D8%A7_%D8%A7%DB%8C%D9%86_%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA\" >\u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 \u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a<\/a><\/li><\/ul><\/nav><\/div>\n<p>\u0642\u0628\u0644\u0627\u064b \u062f\u0631 \u0645\u0637\u0644\u0628 <a href=\"https:\/\/dadekavan.ir\/blog\/install-mariadb-server-on-rhel-8-centos-8\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 MariaDB \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 CentOS<\/a> \u0628\u0627 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0631\u0648\u06cc\u0633 <a href=\"https:\/\/mariadb.org\/\">MariaDB<\/a> \u06a9\u0647 \u06cc\u06a9 \u0627\u0646\u0634\u0639\u0627\u0628 \u0627\u0632 <a href=\"https:\/\/mysql.com\">MySQL<\/a> \u0627\u0633\u062a\u060c \u0622\u0634\u0646\u0627 \u0634\u062f\u06cc\u0645. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0628\u0647 \u0635\u0648\u0631\u062a \u062a\u062e\u0635\u0635\u06cc\u200c\u062a\u0631 \u0648 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0642\u062f\u0631\u062a\u0645\u0646\u062f\u060c \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 <a href=\"https:\/\/percona.com\/\">Percona <\/a> \u0631\u0627 \u0628\u0647\u06cc\u0646\u0647 \u0648 \u0627\u0645\u0646 \u06a9\u0646\u06cc\u0645.<\/p>\n<p>\u0647\u0631\u0686\u0646\u062f \u0627\u0628\u0632\u0627\u0631 \u0645\u0639\u0631\u0641\u06cc \u0634\u062f\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0627 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0633\u0627\u0632\u06af\u0627\u0631 \u0627\u0633\u062a\u060c \u0648\u0644\u06cc \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0645\u0646\u0637\u0628\u0642 \u0628\u0631 MariaDB \u0631\u0648\u06cc CentOS 8 \u0646\u06af\u0627\u0631\u0634 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u0644\u0628\u062a\u0647 \u062c\u0627\u06cc \u0646\u06af\u0631\u0627\u0646\u06cc \u0646\u06cc\u0633\u062a\u060c \u0686\u0648\u0646 \u062a\u0641\u0627\u0648\u062a \u0641\u0642\u0637 \u062f\u0631 \u0645\u0633\u06cc\u0631\u0647\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/p>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"%D9%BE%DB%8C%D8%B4%E2%80%8C%D9%86%DB%8C%D8%A7%D8%B2%D9%87%D8%A7\"><\/span>\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>\u062f\u0627\u0634\u062a\u0646 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc root \u062f\u0631 mysql \u06cc\u0627 mariadb<\/li>\n<li>\u062f\u0627\u0634\u062a\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc root \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u06cc\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc sudo \u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc mysql \u06cc\u0627 mariadb<\/li>\n<li>\u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0646 Perl \u0646\u0633\u062e\u0647 5.6 \u06cc\u0627 \u062c\u062f\u06cc\u062f\u062a\u0631<\/li>\n<\/ol>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"%D9%86%D8%B5%D8%A8_%D8%A8%D8%B3%D8%AA%D9%87_%D9%87%D8%A7%DB%8C_%D9%BE%DB%8C%D8%B4%E2%80%8C%D9%86%DB%8C%D8%A7%D8%B2\"><\/span>\u0646\u0635\u0628 \u0628\u0633\u062a\u0647 \u0647\u0627\u06cc \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0627\u062f\u0627\u0645\u0647 \u06a9\u0627\u0631 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0645\u06cc \u0628\u0627\u06cc\u0633\u062a \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u067e\u06cc\u0634\u0646\u06cc\u0627\u0632 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0646\u0635\u0628 \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 <a href=\"https:\/\/centos.org\/\">CentOS 8<\/a> \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632 \u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0627\u062f\u0627\u0645\u0647 \u06a9\u0627\u0631 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre dir=\"ltr\">sudo dnf update -y\r\nsudo dnf install vim wget -y<\/pre>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"%D8%AF%D8%B1%DB%8C%D8%A7%D9%81%D8%AA_%D8%A7%D8%A8%D8%B2%D8%A7%D8%B1_MySQLTuner\"><\/span>\u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u0628\u0632\u0627\u0631 MySQLTuner<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u0628\u0632\u0627\u0631\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u06cc\u06a9 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0632\u0628\u0627\u0646 <a href=\"https:\/\/perl.org\/\">perl<\/a> \u0627\u0633\u062a \u06a9\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0622\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<pre dir=\"ltr\">wget http:\/\/mysqltuner.pl\/ -O mysqltuner.pl\r\nwget https:\/\/raw.githubusercontent.com\/major\/MySQLTuner-perl\/master\/basic_passwords.txt -O basic_passwords.txt\r\nwget https:\/\/raw.githubusercontent.com\/major\/MySQLTuner-perl\/master\/vulnerabilities.csv -O vulnerabilities.csv\r\nchmod +x mysqltuner.pl<\/pre>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"%D8%A7%D8%AC%D8%B1%D8%A7%DB%8C_%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA_MySQLTuner\"><\/span>\u0627\u062c\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a MySQLTuner<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a <a href=\"https:\/\/github.com\/major\/MySQLTuner-perl\">MySQLTuner<\/a> \u06a9\u0627\u0641\u06cc\u0633\u062a \u062f\u0631 \u0645\u0633\u06cc\u0631\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u062f\u0627\u0646\u0644\u0648\u062f \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u0648 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631 root \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0648 \u0631\u0645\u0632 \u0645\u0631\u0628\u0648\u0637\u0647 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u0646\u062a\u0638\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0627\u062c\u0631\u0627 \u0628\u0627\u0634\u06cc\u062f:<\/p>\n<pre dir=\"ltr\">sudo .\/mysqltuner.pl<\/pre>\n<p>\u0627\u06af\u0631 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u062f\u0631\u0633\u062a \u0628\u0627\u0634\u062f\u060c \u0646\u062a\u06cc\u062c\u0647 \u0686\u06cc\u0632\u06cc \u0634\u0628\u06cc\u0647 \u0628\u0647 \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<pre dir=\"ltr\">[root@CentOS8 ~]# .\/mysqltuner.pl\r\n &gt;&gt;  MySQLTuner 1.7.19 - Major Hayden &lt;major@mhtx.net&gt;\r\n &gt;&gt;  Bug reports, feature requests, and downloads at http:\/\/mysqltuner.com\/\r\n &gt;&gt;  Run with '--help' for additional options and output filtering\r\n\r\n[--] Skipped version check for MySQLTuner script\r\nPlease enter your MySQL administrative login: root\r\nPlease enter your MySQL administrative password: [OK] Currently running supported MySQL version 10.3.17-MariaDB\r\n[OK] Operating on 64-bit architecture\r\n\r\n-------- Log file Recommendations ------------------------------------------------------------------\r\n[OK] Log file \/var\/log\/mariadb\/mariadb.log exists\r\n[--] Log file: \/var\/log\/mariadb\/mariadb.log(3K)\r\n[OK] Log file \/var\/log\/mariadb\/mariadb.log is readable.\r\n[OK] Log file \/var\/log\/mariadb\/mariadb.log is not empty\r\n[OK] Log file \/var\/log\/mariadb\/mariadb.log is smaller than 32 Mb\r\n[!!] \/var\/log\/mariadb\/mariadb.log contains 5 warning(s).\r\n[!!] \/var\/log\/mariadb\/mariadb.log contains 2 error(s).\r\n[--] 1 start(s) detected in \/var\/log\/mariadb\/mariadb.log\r\n[--] 1) 2020-06-03  5:44:42 0 [Note] \/usr\/libexec\/mysqld: ready for connections.\r\n[--] 1 shutdown(s) detected in \/var\/log\/mariadb\/mariadb.log\r\n[--] 1) 2020-06-03  5:44:41 0 [Note] \/usr\/libexec\/mysqld: Shutdown complete\r\n\r\n-------- Storage Engine Statistics -----------------------------------------------------------------\r\n[--] Status: +ARCHIVE +Aria +BLACKHOLE +CSV +FEDERATED +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE\r\n[--] Data in InnoDB tables: 24.4M (Tables: 263)\r\n[OK] Total fragmented tables: 0\r\n\r\n-------- Analysis Performance Metrics --------------------------------------------------------------\r\n[--] innodb_stats_on_metadata: OFF\r\n[OK] No stat updates during querying INFORMATION_SCHEMA.\r\n\r\n-------- Security Recommendations ------------------------------------------------------------------\r\n[OK] There are no anonymous accounts for any database users\r\n[OK] All database users have passwords assigned\r\n[--] There are 620 basic passwords in the list.\r\n\r\n-------- CVE Security Recommendations --------------------------------------------------------------\r\n[OK] NO SECURITY CVE FOUND FOR YOUR VERSION\r\n\r\n-------- Performance Metrics -----------------------------------------------------------------------\r\n[--] Up for: 6m 53s (1K q [3.765 qps], 671 conn, TX: 682K, RX: 402K)\r\n[--] Reads \/ Writes: 96% \/ 4%\r\n[--] Binary logging is disabled\r\n[--] Physical Memory     : 3.7G\r\n[--] Max MySQL memory    : 6.1G\r\n[--] Other process memory: 0B\r\n[--] Total buffers: 928.0M global + 34.7M per thread (151 max threads)\r\n[--] P_S Max memory usage: 104M\r\n[--] Galera GCache Max memory usage: 0B\r\n[OK] Maximum reached memory usage: 1.1G (29.13% of installed RAM)\r\n[!!] Maximum possible memory usage: 6.1G (165.74% of installed RAM)\r\n[!!] Overall possible memory usage with other process exceeded memory\r\n[OK] Slow queries: 0% (0\/1K)\r\n[OK] Highest usage of available connections: 1% (2\/151)\r\n[OK] Aborted connections: 0.30%  (2\/671)\r\n[!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance\r\n[!!] Query cache may be disabled by default due to mutex contention.\r\n[!!] Query cache efficiency: 5.7% (48 cached \/ 837 selects)\r\n[OK] Query cache prunes per day: 0\r\n[OK] Sorts requiring temporary tables: 0% (0 temp sorts \/ 48 sorts)\r\n[!!] Joins performed without indexes: 3\r\n[!!] Temporary tables created on disk: 38% (37 on disk \/ 96 total)\r\n[OK] Thread cache hit rate: 99% (3 created \/ 671 connections)\r\n[OK] Table cache hit rate: 98% (346 open \/ 352 opened)\r\n[!!] table_definition_cache(400) is lower than number of tables(422)\r\n[OK] Open file limit used: 5% (59\/1K)\r\n[OK] Table locks acquired immediately: 100% (642 immediate \/ 642 locks)\r\n\r\n-------- Performance schema ------------------------------------------------------------------------\r\n[--] Memory used by P_S: 104.0M\r\n[--] Sys schema isn't installed.\r\n\r\n-------- ThreadPool Metrics ------------------------------------------------------------------------\r\n[--] ThreadPool stat is enabled.\r\n[--] Thread Pool Size: 4 thread(s).\r\n[--] Using default value is good enough for your version (10.3.17-MariaDB)\r\n\r\n-------- MyISAM Metrics ----------------------------------------------------------------------------\r\n[!!] Key buffer used: 18.2% (24M used \/ 134M cache)\r\n[OK] Key buffer size \/ total MyISAM indexes: 128.0M\/118.0K\r\n[!!] Read Key buffer hit rate: 80.0% (10 cached \/ 2 reads)\r\n\r\n-------- InnoDB Metrics ----------------------------------------------------------------------------\r\n[--] InnoDB is enabled.\r\n[--] InnoDB Thread Concurrency: 0\r\n[OK] InnoDB File per table is activated\r\n[OK] InnoDB buffer pool \/ data size: 128.0M\/24.4M\r\n[!!] Ratio InnoDB log file size \/ InnoDB Buffer pool size (75 %): 48.0M * 2\/128.0M should be equal to 25%\r\n[OK] InnoDB buffer pool instances: 1\r\n[--] Number of InnoDB Buffer Pool Chunk : 1 for 1 Buffer Pool Instance(s)\r\n[OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size &amp; Innodb_buffer_pool_instances\r\n[!!] InnoDB Read buffer efficiency: 88.22% (17313 hits\/ 19625 total)\r\n[!!] InnoDB Write Log efficiency: 77.78% (14 hits\/ 18 total)\r\n[OK] InnoDB log waits: 0.00% (0 waits \/ 32 writes)\r\n\r\n-------- AriaDB Metrics ----------------------------------------------------------------------------\r\n[--] AriaDB is enabled.\r\n[OK] Aria pagecache size \/ total Aria indexes: 128.0M\/1B\r\n[!!] Aria pagecache hit rate: 94.5% (653 cached \/ 36 reads)\r\n\r\n-------- TokuDB Metrics ----------------------------------------------------------------------------\r\n[--] TokuDB is disabled.\r\n\r\n-------- XtraDB Metrics ----------------------------------------------------------------------------\r\n[--] XtraDB is disabled.\r\n\r\n-------- Galera Metrics ----------------------------------------------------------------------------\r\n[--] Galera is disabled.\r\n\r\n-------- Replication Metrics -----------------------------------------------------------------------\r\n[--] Galera Synchronous replication: NO\r\n[--] No replication slave(s) for this server.\r\n[--] Binlog format: MIXED\r\n[--] XA support enabled: ON\r\n[--] Semi synchronous replication Master: OFF\r\n[--] Semi synchronous replication Slave: OFF\r\n[--] This is a standalone server\r\n\r\n-------- Recommendations ---------------------------------------------------------------------------\r\nGeneral recommendations:\r\n    Control warning line(s) into \/var\/log\/mariadb\/mariadb.log file\r\n    Control error line(s) into \/var\/log\/mariadb\/mariadb.log file\r\n    MySQL was started within the last 24 hours - recommendations may be inaccurate\r\n    Reduce your overall MySQL memory footprint for system stability\r\n    Dedicate this server to your database for highest performance.\r\n    Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1\r\n    We will suggest raising the 'join_buffer_size' until JOINs not using indexes are found.\r\n             See https:\/\/dev.mysql.com\/doc\/internals\/en\/join-buffer-size.html\r\n             (specially the conclusions at the bottom of the page).\r\n    When making adjustments, make tmp_table_size\/max_heap_table_size equal\r\n    Reduce your SELECT DISTINCT queries which have no LIMIT clause\r\n    Consider installing Sys schema from https:\/\/github.com\/mysql\/mysql-sys for MySQL\r\n    Consider installing Sys schema from https:\/\/github.com\/FromDual\/mariadb-sys for MariaDB\r\n    Before changing innodb_log_file_size and\/or innodb_log_files_in_group read this: https:\/\/bit.ly\/2TcGgtU\r\nVariables to adjust:\r\n  *** MySQL's maximum memory usage is dangerously high ***\r\n  *** Add RAM before increasing MySQL buffer variables ***\r\n    query_cache_size (=0)\r\n    query_cache_type (=0)\r\n    query_cache_limit (&gt; 32M, or use smaller result sets)\r\n    join_buffer_size (&gt; 16.0M, or always use indexes with JOINs)\r\n    tmp_table_size (&gt; 16M)\r\n    max_heap_table_size (&gt; 16M)\r\n    table_definition_cache(400) &gt; 422 or -1 (autosizing if supported)\r\n    innodb_log_file_size should be (=16M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.<\/pre>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"%D8%A7%D8%B9%D9%85%D8%A7%D9%84_%D8%AA%D9%86%D8%B8%DB%8C%D9%85%D8%A7%D8%AA_%D9%BE%DB%8C%D8%B4%D9%86%D9%87%D8%A7%D8%AF%DB%8C\"><\/span>\u0627\u0639\u0645\u0627\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0628\u0647 \u062e\u0648\u062f\u06cc \u062e\u0648\u062f\u060c \u0647\u06cc\u0686 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u0631\u0648\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0627\u06cc\u062c\u0627\u062f \u0646\u0645\u06cc \u06a9\u0646\u062f \u0648 \u0641\u0642\u0637 \u062a\u0648\u0635\u06cc\u0647 \u0647\u0627\u06cc\u06cc \u0628\u0631\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u062a\u0648\u0635\u06cc\u0647 \u0647\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a \u0627\u0646\u062a\u0647\u0627\u06cc\u06cc \u062e\u0631\u0648\u062c\u06cc \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0646\u0645\u0648\u0646\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u062e\u0631\u0648\u062c\u06cc \u062f\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2635\" src=\"https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/06\/MySQLTuner-perl-result.jpg\" alt=\"MySQLTuner\" width=\"964\" height=\"440\" srcset=\"https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/06\/MySQLTuner-perl-result.jpg 964w, https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/06\/MySQLTuner-perl-result-300x137.jpg 300w, https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/06\/MySQLTuner-perl-result-768x351.jpg 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0648\u0635\u06cc\u0647 \u0647\u0627\u06cc \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc MariaDB 10.3 \u06a9\u0647 \u0631\u0648\u06cc CentOS 8 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0632\u06cc\u0631 \u0642\u0631\u0627\u0631\u062f\u0627\u0631\u062f:<\/p>\n<pre dir=\"ltr\">\/etc\/my.cnf.d\/mariadb-server.cnf<\/pre>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"%D9%86%DA%A9%D8%A7%D8%AA_%D9%85%D9%87%D9%85_%D9%88_%DA%A9%D9%84%DB%8C%D8%AF%DB%8C_%D8%AF%D8%B1_%D8%A7%D8%B3%D8%AA%D9%81%D8%A7%D8%AF%D9%87_%D8%A7%D8%B2_%D8%A7%DB%8C%D9%86_%D8%A7%D8%A8%D8%B2%D8%A7%D8%B1\"><\/span>\u0646\u06a9\u0627\u062a \u0645\u0647\u0645 \u0648 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u060c \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc \u0634\u0648\u062f \u0628\u0647 \u0646\u06a9\u0627\u062a \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<ol>\n<li>\u0642\u0628\u0644 \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u060c \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona <strong>\u062d\u062f\u0627\u0642\u0644 24 \u0633\u0627\u0639\u062a<\/strong> \u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0647 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0647\u062a\u0631 \u0627\u0633\u062a <strong>\u0632\u06cc\u0631 \u0628\u0627\u0631<\/strong> \u0648\u0627\u0642\u0639\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f.<\/li>\n<li>\u0627\u06af\u0631 \u0627\u0632 MariaDB 10.x \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c performance_schema \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0639\u0628\u0627\u0631\u062a performance_schema = on \u0631\u0627 \u062f\u0631 \u0628\u062e\u0634 [mysqld] \u062f\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc mariadb \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/li>\n<li>\u0645\u0634\u06a9\u0644\u0627\u062a\u06cc \u06a9\u0647 \u062f\u0631 \u0637\u0631\u0627\u062d\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0628\u0627 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0633\u0631\u0648\u06cc\u0633 \u062d\u0644 \u0646\u0645\u06cc \u0634\u0648\u062f\u060c \u067e\u0633 \u0631\u0648\u06cc \u0627\u0635\u0644\u0627\u062d \u0633\u0627\u062e\u062a\u0627\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648 \u0645\u062f\u0644 \u062f\u0627\u062f\u0647 \u0647\u0627 \u062a\u0645\u0631\u06a9\u0632 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u062a\u0627\u062b\u06cc\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0686\u0634\u0645\u200c\u06af\u06cc\u0631\u062a\u0631\u06cc \u062f\u0631 \u0627\u0641\u0632\u0627\u06cc\u0634 \u06a9\u0627\u0631\u0627\u06cc\u06cc \u062e\u0648\u0627\u062f \u062f\u0627\u0634\u062a.<\/li>\n<li>\u062e\u06cc\u0644\u06cc \u0648\u0642\u062a\u200c\u0647\u0627 \u062e\u0648\u062f \u0634\u0645\u0627 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 \u0628\u0647\u062a\u0631 \u0645\u06cc\u200c\u0641\u0647\u0645\u06cc\u062f! \u067e\u0633 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062a\u0634\u062e\u06cc\u0636 \u0634\u0645\u0627 \u062f\u0631 \u0627\u0639\u0645\u0627\u0644 \u0628\u0631\u062e\u06cc \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0647\u062a\u0631 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 \u0628\u0627\u0634\u062f. \u0628\u0647 \u062e\u0648\u062f\u062a\u0627\u0646 \u0627\u0639\u062a\u0645\u0627\u062f \u06a9\u0646\u06cc\u062f.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%D9%86%D8%B3%D8%AE%D9%87_%D9%87%D8%A7%DB%8C_%D8%B3%D8%A7%D8%B2%DA%AF%D8%A7%D8%B1_%D8%A8%D8%A7_%D8%A7%DB%8C%D9%86_%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA\"><\/span>\u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 \u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a MySQLTuner \u0628\u0627 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0627\u0632 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0633\u0627\u0632\u06af\u0627\u0631 \u0627\u0633\u062a:<\/p>\n<p dir=\"ltr\">MySQL 8 (full support, password checks don&#8217;t work)MySQL 5.7 (full support)<br \/>\nMySQL 5.6 (full support)<br \/>\nMySQL 5.5 (full support)<br \/>\nMariaDB 10.4 (full support)<br \/>\nMariaDB 10.3 (full support)<br \/>\nMariaDB 10.2 (full support)<br \/>\nMariaDB 10.1 (full support)<br \/>\nMariaDB 10.0 (full support, 6 last month support)<br \/>\nMariaDB 5.5 (full support, no more MariaDB support)<br \/>\nPercona Server 8.0 (full support, password checks don&#8217;t work)<br \/>\nPercona Server 5.7 (full support)<br \/>\nPercona Server 5.6 (full support)<br \/>\nPercona XtraDB cluster (partial support, no test environment)<br \/>\nMysql Replications (partial support, no test environment)<br \/>\nGalera replication (partial support, no test environment)<br \/>\nMySQL 3.23, 4.0, 4.1, 5.0, 5.1, 5.5 (partial support &#8211; deprecated version)<\/p>\n<p><strong>\u062e\u0628\u0631 \u0628\u062f \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648\u06cc\u0646\u062f\u0648\u0632!<\/strong><\/p>\n<p>\u062f\u0631\u062d\u0627\u0644 \u062d\u0627\u0636\u0631 \u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 <a href=\"https:\/\/microsoft.com\/en-us\/windows\">windows<\/a> \u0633\u0627\u0632\u06af\u0627\u0631 \u0646\u06cc\u0633\u062a.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648 \u0627\u0645\u0646 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0627\u0647\u0645\u06cc\u062a \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 MySQLTuner \u0627\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0627 \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/p>\n","protected":false},"author":1,"featured_media":2646,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[57],"tags":[],"class_list":["post-2634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v14.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648 \u0627\u0645\u0646 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0627\u0647\u0645\u06cc\u062a \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 MySQLTuner \u0627\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0627 \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0633\u0631\u0639\u062a \u0648 \u0627\u0645\u0646\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633 MySQL \u0648 MariaDB \u0631\u0648\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 -\" \/>\n<meta property=\"og:description\" content=\"\u0628\u0647\u06cc\u0646\u0647 \u0633\u0627\u0632\u06cc \u0648 \u0627\u0645\u0646 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0648\u06cc\u0633 MySQL \u06cc\u0627 MariaDB \u06cc\u0627 Percona \u0627\u0647\u0645\u06cc\u062a \u062f\u0627\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 MySQLTuner \u0627\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0627 \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0645\u062c\u0644\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648 \u06a9\u0646\u062a\u0631\u0644 \u067e\u0631\u0648\u0698\u0647\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-03T11:04:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-26T13:37:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/06\/speed.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1138\" \/>\n\t<meta property=\"og:image:height\" content=\"573\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/#organization\",\"name\":\"\\u062f\\u0627\\u062f\\u0647 \\u06a9\\u0627\\u0648\\u0627\\u0646\",\"url\":\"https:\/\/dadekavan.ir\/blog\/\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/dadekavan-andishe-bartar\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/#logo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/03\/Slogo.png\",\"width\":271,\"height\":243,\"caption\":\"\\u062f\\u0627\\u062f\\u0647 \\u06a9\\u0627\\u0648\\u0627\\u0646\"},\"image\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/#website\",\"url\":\"https:\/\/dadekavan.ir\/blog\/\",\"name\":\"\\u0645\\u062c\\u0644\\u0647 \\u0645\\u062f\\u06cc\\u0631\\u06cc\\u062a \\u0648 \\u06a9\\u0646\\u062a\\u0631\\u0644 \\u067e\\u0631\\u0648\\u0698\\u0647\",\"description\":\"Dadekavan blog | Web based Team and Project Management\",\"publisher\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/dadekavan.ir\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/dadekavan.ir\/blog\/wp-content\/uploads\/2020\/06\/speed.jpg\",\"width\":1138,\"height\":573},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#webpage\",\"url\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/\",\"name\":\"\\u0628\\u0647\\u06cc\\u0646\\u0647 \\u0633\\u0627\\u0632\\u06cc \\u0648 \\u0627\\u0641\\u0632\\u0627\\u06cc\\u0634 \\u0633\\u0631\\u0639\\u062a \\u0648 \\u0627\\u0645\\u0646\\u06cc\\u062a \\u0633\\u0631\\u0648\\u06cc\\u0633 MySQL \\u0648 MariaDB \\u0631\\u0648\\u06cc \\u0644\\u06cc\\u0646\\u0648\\u06a9\\u0633 -\",\"isPartOf\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#primaryimage\"},\"datePublished\":\"2020-06-03T11:04:34+00:00\",\"dateModified\":\"2024-10-26T13:37:39+00:00\",\"description\":\"\\u0628\\u0647\\u06cc\\u0646\\u0647 \\u0633\\u0627\\u0632\\u06cc \\u0648 \\u0627\\u0645\\u0646 \\u06a9\\u0631\\u062f\\u0646 \\u0633\\u0631\\u0648\\u06cc\\u0633 MySQL \\u06cc\\u0627 MariaDB \\u06cc\\u0627 Percona \\u0627\\u0647\\u0645\\u06cc\\u062a \\u062f\\u0627\\u0631\\u062f. \\u062f\\u0631 \\u0627\\u06cc\\u0646 \\u0645\\u0637\\u0644\\u0628 \\u0628\\u0627 \\u0627\\u0633\\u062a\\u0641\\u0627\\u062f\\u0647 \\u0627\\u0632 \\u0627\\u0628\\u0632\\u0627\\u0631 MySQLTuner \\u0627\\u06cc\\u0646 \\u0639\\u0645\\u0644\\u06cc\\u0627\\u062a \\u0631\\u0627 \\u0622\\u0645\\u0648\\u0632\\u0634 \\u0645\\u06cc\\u200c\\u062f\\u0647\\u06cc\\u0645.\",\"breadcrumb\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/\",\"url\":\"https:\/\/dadekavan.ir\/blog\/\",\"name\":\"\\u062e\\u0627\\u0646\\u0647\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/\",\"url\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/\",\"name\":\"\\u0628\\u0647\\u06cc\\u0646\\u0647 \\u0633\\u0627\\u0632\\u06cc \\u0648 \\u0627\\u0641\\u0632\\u0627\\u06cc\\u0634 \\u0633\\u0631\\u0639\\u062a \\u0648 \\u0627\\u0645\\u0646\\u06cc\\u062a \\u0633\\u0631\\u0648\\u06cc\\u0633 MySQL \\u0648 MariaDB \\u0631\\u0648\\u06cc \\u0644\\u06cc\\u0646\\u0648\\u06a9\\u0633\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#webpage\"},\"author\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/#\/schema\/person\/1873306d8788fedb16527d237f2a3ca5\"},\"headline\":\"\\u0628\\u0647\\u06cc\\u0646\\u0647 \\u0633\\u0627\\u0632\\u06cc \\u0648 \\u0627\\u0641\\u0632\\u0627\\u06cc\\u0634 \\u0633\\u0631\\u0639\\u062a \\u0648 \\u0627\\u0645\\u0646\\u06cc\\u062a \\u0633\\u0631\\u0648\\u06cc\\u0633 MySQL \\u0648 MariaDB \\u0631\\u0648\\u06cc \\u0644\\u06cc\\u0646\\u0648\\u06a9\\u0633\",\"datePublished\":\"2020-06-03T11:04:34+00:00\",\"dateModified\":\"2024-10-26T13:37:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/dadekavan.ir\/blog\/mysql-mariadb-percona-performance-and-security-tuning-linux\/#primaryimage\"},\"articleSection\":\"\\u0641\\u0646\\u0627\\u0648\\u0631\\u06cc\",\"inLanguage\":\"fa-IR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dadekavan.ir\/blog\/#\/schema\/person\/1873306d8788fedb16527d237f2a3ca5\",\"name\":\"\\u062a\\u06cc\\u0645 \\u062a\\u062d\\u0642\\u06cc\\u0642 \\u0648 \\u062a\\u0648\\u0633\\u0639\\u0647\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/posts\/2634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/comments?post=2634"}],"version-history":[{"count":1,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/posts\/2634\/revisions"}],"predecessor-version":[{"id":4071,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/posts\/2634\/revisions\/4071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/media\/2646"}],"wp:attachment":[{"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/media?parent=2634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/categories?post=2634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dadekavan.ir\/blog\/wp-json\/wp\/v2\/tags?post=2634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}