Bug #103911 | MySQL 8.0 Sysbench Benchmark (oltp_write_only) lower than MySQL 5.7.28 | ||
---|---|---|---|
Submitted: | 4 Jun 2021 10:15 | Modified: | 7 Jun 2021 1:56 |
Reporter: | Demon Chen | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S5 (Performance) |
Version: | 8.0.20 | OS: | Linux (centos7) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | benchmark test, mysql5.7, mysql8.0, sysbench |
[4 Jun 2021 10:15]
Demon Chen
[4 Jun 2021 10:16]
Demon Chen
perf snapshot:mysql-8.0.20
Attachment: 8.0.png (image/png, text), 393.11 KiB.
[4 Jun 2021 10:16]
Demon Chen
perf snapshot:mysql-5.7.28
Attachment: 5.7.png (image/png, text), 362.96 KiB.
[4 Jun 2021 10:19]
Demon Chen
mysql 8::my.cnf
Attachment: 8.0cnf.txt (text/plain), 5.58 KiB.
[4 Jun 2021 10:21]
Demon Chen
mysql 5.7:my.cnf
Attachment: 5.7cnf.txt (text/plain), 5.26 KiB.
[4 Jun 2021 12:21]
MySQL Verification Team
Hi Mr. Chen, Thank you very much for your bug report. However, there are, already, about 50 verified bugs that have proven that 5.7 is faster on the same SQL statements, then mysql-8.0 We have found one of those, so we are setting your report as a duplicate of the following one: https://bugs.mysql.com/bug.php?id=94387 The cause of slowdown are many new features which have been implemented in 8.0, which made entire code more complicated. One of the workarounds to remedy the situation is to make full use of all new features in mysql-8.0.
[6 Jun 2021 13:05]
MySQL Verification Team
there have been improvements in semisync replication performance in 5.7.33 and 8.0.23. so better to try newest versions of 8.0.x and 5.7.x and see if they're any improved compared to the numbers here. 8.0.20 is fairly old in terms of number of bugs fixed in 8.0.25.
[7 Jun 2021 1:56]
Demon Chen
Hi, Any suggestion changes about the config file to indroduce to me? And There's only master to run the benchamark, no slave at all.