Bug #106560 | slow DDL in mysql 8.0 as compare to 5.7 taking more time for checking permission | ||
---|---|---|---|
Submitted: | 24 Feb 2022 14:51 | Modified: | 26 Feb 2022 7:14 |
Reporter: | Aaditya Dubey | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
Version: | 8.0.28 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[24 Feb 2022 14:51]
Aaditya Dubey
[25 Feb 2022 14:02]
MySQL Verification Team
Hi Mr. Dubey, Thank you for your bug report. However, general performance drop between 5.7 and 8.0, for single-threaded operation, is very well known and documented. Your report is a duplicate of many of already verified reports, such as: https://bugs.mysql.com/bug.php?id=90209 https://bugs.mysql.com/bug.php?id=85255 (you can't access this one) https://bugs.mysql.com/bug.php?id=95684 (this is also a private bug) https://bugs.mysql.com/bug.php?id=92979 and many , many others. There are very good reasons for the performance degradation. DDL operations in 8.0 are all atomic, while 5.7 operations did not allow that. Next, 8.0 has been designed to provide much better performance in the multi-threaded loads, which is a real-life situation on more then 90 % installations of our server. Hence, we recommend you to run your DDLs in many threads. That also means to dump your schemas with mysqlpump, instead of mysqldump. Hence, your bug report is something that we are very well aware of and is reported so many times for 8.0. Duplicate.
[26 Feb 2022 7:14]
Aaditya Dubey
Thanks for the updates team!
[28 Feb 2022 14:01]
MySQL Verification Team
Hi Mr. Dubey, You are truly welcome .....