Bug #81561 | MySQL 5.7 is 11% to 37% slower then 5.6 when using 4 threads | ||
---|---|---|---|
Submitted: | 24 May 2016 7:22 | Modified: | 28 May 2016 5:46 |
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.7.12 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[24 May 2016 7:22]
Roel Van de Paar
[24 May 2016 7:23]
Roel Van de Paar
Credits for this bug: Ramesh, Vadim, Krunal, Roel
[24 May 2016 20:03]
MySQL Verification Team
if you specify same value for --sync-binlog in both servers, does it even things out? Also, the first stats say 5.7 is faster?
[24 May 2016 23:41]
Roel Van de Paar
Woops, I tagged the numbers the wrong way around. Will log a new bug with clearer details.
[25 May 2016 0:08]
Roel Van de Paar
Shane, yes you're right "Prior to MySQL 5.7.7, the default value of sync_binlog was 0, which configures no synchronizing to diskāin this case, the server relies on the operating system to flush the binary log's contents from time to time as for any other file. MySQL 5.7.7 and later use a default value of 1, which is the safest choice, but as noted above can impact performance." https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_sync_bi... "which is the safest choice": why was this defaults change made?
[28 May 2016 5:46]
Roel Van de Paar
New version http://bugs.mysql.com/bug.php?id=81630