Skip to content

Commit ed927db

Browse files
committed
Illegal division by zero #423
1 parent fce4eda commit ed927db

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ that you trust. **Always** test your changes on staging environments, and
6161
always keep in mind that improvements in one area can **negatively affect**
6262
MySQL in other areas.
6363

64+
It's **also important** to wait at least a day of uptime to get accurated results. In fact, running
65+
**mysqltuner** on a fresh restarted server is completely useless.
66+
6467
**Seriously - please review the FAQ section below.**
6568

6669

@@ -96,13 +99,13 @@ Optional Sysschema installation for MySQL 5.6
9699
Sysschema is installed by default under MySQL 5.7 and MySQL 8 from Oracle.
97100
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
98101
For previous 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
99-
102+
100103
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
101104
# check zip file
102105
unzip -l sysschema.zip
103106
unzip sysschema.zip
104107
cd mysql-sys-master
105-
mysql -uroot -p < sys_56.sql
108+
mysql -uroot -p < sys_56.sql
106109

107110
Optional Performance schema and Sysschema installation for MariaDB 10.x
108111
--
@@ -114,7 +117,7 @@ By default, on MariaDB, performance schema is disabled by default. consider acti
114117
performance_schema = on
115118

116119
You can follow this command to create a new database sys containing very useful view on Performance schema:
117-
120+
118121
curl "https://codeload.github.com/good-dba/mariadb-sys/zip/master" > mariadb-sys.zip
119122
# check zip file
120123
unzip -l mariadb-sys.zip
@@ -127,7 +130,7 @@ Performance tips
127130
Metadata statistic updates can impact strongly performance of database servers and MySQLTuner.
128131
Be sure that innodb_stats_on_metadata is disabled.
129132

130-
set global innodb_stats_on_metadata = 0;
133+
set global innodb_stats_on_metadata = 0;
131134

132135
Specific usage
133136
--
@@ -152,7 +155,7 @@ __Usage:__ Enable CVE vulnerabilities check for your MariaDB or MySQL version
152155

153156
perl mysqltuner.pl --cvefile=vulnerabilities.csv
154157

155-
__Usage:__ Write your result in a file with information displayed
158+
__Usage:__ Write your result in a file with information displayed
156159

157160
perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt
158161

0 commit comments

Comments
 (0)