Bug #69099 MySQL 5.6 I_S.innodb_metrics configuration seems inconsistent with P_S
| Submitted: | 30 Apr 2013 8:31 | Modified: | 1 May 2013 14:48 |
|---|---|---|---|
| Reporter: | Simon Mudd | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
| Version: | 5.6.11 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[30 Apr 2013 8:31]
Simon Mudd
[30 Apr 2013 8:34]
Simon Mudd
Initially I thought I could configure the table this way, but see that's not possible: root@myserver [information_schema]> update innodb_metrics set status = 'ENABLED' where name like 'purge%'; ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'information_schema' and given my grants this was obviously not the problem: root@myserver [information_schema]> show grants; +----------------------------------------------------------------------------------------------------------------------------------------+ | Grants for root@localhost | +----------------------------------------------------------------------------------------------------------------------------------------+ | GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' WITH GRANT OPTION | | GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION | +----------------------------------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec)
[1 May 2013 14:48]
Arnaud Adant
Thank you very much for the feature request. This table is a bit strange : using the information_schema to access the performance_schema. Note that the information_schema is read only by design so you can only modify the information using variables (or DDL such as create table) : " Although you can select INFORMATION_SCHEMA as the default database with a USE statement, you can only read the contents of tables, not perform INSERT, UPDATE, or DELETE operations on them " http://dev.mysql.com/doc/refman/5.6/en/information-schema.html To summarize what needs to be done in 5.7 : - remove the innodb_monitor* variables - move the information_schema.innodb_metrics to the performance_schema.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.