Bug #100601 | Not all PFS keys are registered when initializing the mysql server | ||
---|---|---|---|
Submitted: | 21 Aug 2020 12:32 | Modified: | 22 Aug 2020 3:15 |
Reporter: | Cheng Zhou | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.18 | OS: | Red Hat |
Assigned to: | CPU Architecture: | Any |
[21 Aug 2020 12:32]
Cheng Zhou
[21 Aug 2020 13:02]
Cheng Zhou
After fixed the bug as the suggested fix, another error occurred as reported in http://bugs.mysql.com/100602
[21 Aug 2020 13:05]
MySQL Verification Team
Hi Mr. Zhou, Thank you for your bug report. However, this is not a bug. Simply, some of the keys are necessary in order for InnoDB SE to function properly. We shall try to find out which keys are those ......
[21 Aug 2020 13:17]
MySQL Verification Team
Do try enabling PSI FILE and THREAD keys and see if it helps.
[21 Aug 2020 13:19]
MySQL Verification Team
Also, try not disabling RWLOCK index in PFS.
[21 Aug 2020 13:19]
MySQL Verification Team
Seems that MUTEX key is also required.
[22 Aug 2020 3:15]
Cheng Zhou
Well, <MySQL 8.0 Reference Manual> '2.9.7 MySQL Source-Configuration Options ' mentioned: "Note It is not possible to compile without Performance Schema support. If it is desired to compile without particular types of instrumentation, that can be done with the following CMake options: DISABLE_PSI_COND ... DISABLE_PSI_TRANSACTION For example, to compile without mutex instrumentation, configure MySQL using the -DDISABLE_PSI_MUTEX=1 option." Aren't all of DISABLE_PSI_XXXs available? I just tried to disable any unnecessary functions to improve the test performance as much as possible.
[24 Aug 2020 12:18]
MySQL Verification Team
Hi Mr. Zhou, We had an internal discussion and concluded that our documentation is clear enough. Performance Schema indexes are predefined and cannot be dropped, added, or altered. https://dev.mysql.com/doc/refman/8.0/en/performance-schema-optimization.html Hence, what you are attempting is not supported.