Bug #106357 | Alter table add column with algorithm=instant halts all other queries | ||
---|---|---|---|
Submitted: | 2 Feb 2022 12:35 | Modified: | 2 Feb 2022 13:52 |
Reporter: | Sunny Nagra | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.27 | OS: | Red Hat (CentOS 7) |
Assigned to: | CPU Architecture: | x86 (64) |
[2 Feb 2022 12:35]
Sunny Nagra
[2 Feb 2022 13:39]
MySQL Verification Team
Hi Mr. Nagra, Thank you for your bug report. However, we have not been able to repeat the behaviour that you reported. We have run an instant DDL which added a new column and tried to run a number of queries on the number of unrelated tables and did that without any single problem. What you are reporting is not a bug, but evidently a problem of the insufficient tuning of the MySQL server. You do not have sufficient caches for the table or sizes of various relevant buffers. There are many other configuration variables that are not tuned well, but this is a metterr of how you set a configuration and it is not our bug. Can't repeat.
[2 Feb 2022 13:52]
Sunny Nagra
What caches are you referring to? table_open_cache, table_definition_cache? Could you explain the flow behind how the instant DDL works behind the scenes? Does it issue any FLUSH TABLES etc?
[2 Feb 2022 14:51]
MySQL Verification Team
Hello Mr. Nagra, Yes, both of those caches, but not only those ..... Many other general settings, with many InnoDB settings as well ...... This is all explained in our Reference Manual, which you can find on dev.mysql.com site. No, tables are not flushed with instant DDLs. Please, do note that this is a forum for true MySQL bugs and not a forum for getting answers to the questions. Forum where you can ask questions is: http://forums.mysql.com