Information_schema.global_variables Feature Is Disabled
- Information_schema.global_variables' Feature Is Disabled
- Information_schema.global_variables Feature Is Disabled Working
The list of available counters is subject to change. Query the INFORMATIONSCHEMA.INNODBMETRICS table for counters available in your MySQL server version. The counters enabled by default correspond to those shown in SHOW ENGINE INNODB STATUS output. Counters shown in SHOW ENGINE INNODB STATUS output are always enabled at a system level but can be disable for the INNODBMETRICS table.
Inspired by Peter Zaitsev’s post for MySQL 5.6, I decided to do a comparison between default configuration of MySQL 5.6 and 5.7. And I gotta tell you, some of the changes I found will have a huge impact on performance so make sure to get yourself familiar with them before you upgrade, even if you’re not otherwise running with a default configuration.
BEGIN
Interestingly, I hit the first roadblock before I could even start. It seems you can no longer extract the same information from the information_schema as in MySQL 5.6, and I had to use performance_schema instead:
2 4 | mysql>insertintocompare.vars57(variable_name,variable_value) ->selectVARIABLE_NAME,VARIABLE_VALUEfromINFORMATION_SCHEMA.GLOBAL_VARIABLES; ERROR3167(HY000):The'INFORMATION_SCHEMA.GLOBAL_VARIABLES'featureisdisabled; |
With that settled (hence after a mysql_upgrade and a server restart), here’s the result we have: