You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-39Lines changed: 27 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@
8
8
[](http://isitmaintained.com/project/major/MySQLTuner-perl"Percentage of issues still open")
**MySQLTuner** is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.
11
+
**MySQLTuner** is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.
12
12
13
-
**MySQLTuner** supports ~300 indicators for MySQL/MariaDB/Percona Server in this last version.
13
+
**MySQLTuner** supports ~300 indicators for MySQL/MariaDB/Percona Server in this latest version.
14
14
15
-
**MySQLTuner** is maintained and indicator collect is increasing week after week supporting a lot of configuration such as [Galera Cluster](http://galeracluster.com/), [TokuDB](https://www.percona.com/software/mysql-database/percona-tokudb), [Performance schema](https://github.com/mysql/mysql-sys), Linux OS metrics, [InnoDB](http://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html), [MyISAM](http://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html), [Aria](https://mariadb.com/kb/en/mariadb/aria/), ...
15
+
**MySQLTuner** is actively maintained supporting many configurations such as [Galera Cluster](http://galeracluster.com/), [TokuDB](https://www.percona.com/software/mysql-database/percona-tokudb), [Performance schema](https://github.com/mysql/mysql-sys), Linux OS metrics, [InnoDB](http://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html), [MyISAM](http://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html), [Aria](https://mariadb.com/kb/en/mariadb/aria/), ...
16
16
17
17
You can find more details on these indicators here:
***UNSUPPORTED ENVIRONMENTS - NEED HELP FOR THAT :)***
77
-
* Cloud based is not supported at this time (Help wanted !!!!! GCP, AWS, Azure support asked)
64
+
***UNSUPPORTED ENVIRONMENTS - NEED HELP WITH THAT***
65
+
* Cloud based is not supported at this time (Help wanted! GCP, AWS, Azure support requested)
78
66
79
67
***Unsupported storage engines: PRs welcome***
80
68
81
-
* NDB is not supported feel free to Pull Request code :)
82
-
* MyISAM is to old is no longer active
69
+
* NDB is not supported feel free to create a Pull Request
70
+
* MyISAM is too old and no longer active
83
71
* RockDB
84
72
* Archive
85
73
* Spider
@@ -99,18 +87,18 @@ Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.or
99
87
***WARNING***
100
88
--
101
89
102
-
It is **extremely important** for you to fully understand each change
90
+
It is **important** for you to fully understand each change
103
91
you make to a MySQL database server. If you don't understand portions
104
92
of the script's output, or if you don't understand the recommendations,
105
93
**you should consult** a knowledgeable DBA or system administrator
106
94
that you trust. **Always** test your changes on staging environments, and
107
-
always keep in mind that improvements in one area can **negatively affect**
95
+
always keep in mind that improvements in one area can **adversely affect**
108
96
MySQL in other areas.
109
97
110
-
It's **also important** to wait at least a day of uptime to get accurate results. In fact, running
98
+
It's **also important** to wait at least 24 hours of uptime to get accurate results. In fact, running
111
99
**mysqltuner** on a fresh restarted server is completely useless.
112
100
113
-
**Seriously - please review the FAQ section below.**
101
+
**Also review the FAQ section below.**
114
102
115
103
Security recommendations
116
104
--
@@ -119,7 +107,7 @@ Hi directadmin user!
119
107
We detected that you run mysqltuner with da_admin's credentials taken from `/usr/local/directadmin/conf/my.cnf`, which might bring to a password discovery!
120
108
Read link for more details [Issue #289](https://github.com/major/MySQLTuner-perl/issues/289).
121
109
122
-
What MySQLTuner is checking exactly ?
110
+
What is MySQLTuner checking exactly ?
123
111
--
124
112
125
113
All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md) documentation.
@@ -167,7 +155,7 @@ By default, on MariaDB, performance schema is disabled by default. consider acti
167
155
performance_schema = on
168
156
```
169
157
170
-
You can follow this command to create a new database sys containing very useful view on Performance schema:
158
+
You can follow this command to create a new database sys containing a useful view on Performance schema:
@@ -186,7 +174,7 @@ Have a look at #452 solution given by @ericx
186
174
Performance tips
187
175
--
188
176
189
-
Metadata statistic updates can impact strongly performance of database servers and MySQLTuner.
177
+
Metadata statistic updates can strongly impact performance of database servers.
190
178
Be sure that innodb_stats_on_metadata is disabled.
191
179
192
180
```bash
@@ -196,7 +184,7 @@ set global innodb_stats_on_metadata = 0;
196
184
Fixing sysctl configuration (/etc/sysctl.conf)
197
185
--
198
186
199
-
It is a system wide setting: [Linux FS Kernel settings](https://www.kernel.org/doc/html/latest/admin-guide/sysctl/fs.html#id1)
187
+
It is a system wide setting and not a database setting: [Linux FS Kernel settings](https://www.kernel.org/doc/html/latest/admin-guide/sysctl/fs.html#id1)
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly.
218
+
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling Perl directly.
231
219
232
220
__Usage:__ Minimal usage remotely
233
221
234
-
In previous version, --forcemem shoud be set manually, in order to be able to run an MT analysis
222
+
In previous version, --forcemem shoud be set manually, in order to be able to run an MySQLTuner analysis
235
223
236
224
Since 2.1.10, memory and swap are defined to 1Gb by default.
237
225
@@ -389,7 +377,7 @@ To optimize other database systems, you would need to use tools designed for tho
389
377
390
378
**Question: Does MySQL tuner support MariaDB and Percona Server ?**
391
379
392
-
Yes, MySQL tuner supports MariaDB and Percona Server since they are forks of MySQL and share a similar architecture. The script can analyze and provide recommendations for these systems as well.
380
+
Yes, MySQL tuner supports MariaDB and Percona Server since they are derivatives of MySQL and share a similar architecture. The script can analyze and provide recommendations for these systems as well.
393
381
394
382
**Question: What should I do if I need help with MySQL tuner or have questions about the recommendations ?**
395
383
@@ -399,7 +387,7 @@ Be cautious when implementing changes to ensure the stability and performance of
399
387
400
388
**Question: Will MySQLTuner fix my slow MySQL server ?**
401
389
402
-
**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons, or call your mother to wish her a happy birthday. It will give you an overview of your server's performance and make some basic recommendations for improvements that you can make after it completes.*Make sure you read the warning above prior to following any recommendations.*
390
+
**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons. It will give you an overview of your server's performance and make some basic recommendations for improvements that you can make after it completes.
403
391
404
392
**Question: Can I fire my DBA now?**
405
393
@@ -415,7 +403,7 @@ The script will try its best to log in via any means possible. It will check fo
415
403
user=someusername
416
404
password=thatuserspassword
417
405
418
-
Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions. If a [T-1000 shows up in a LAPD uniform](https://en.wikipedia.org/wiki/T-1000) and demands your database credentials, you won't have much of an option.
406
+
Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions.
419
407
420
408
**Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?**
0 commit comments