A modern MySQL server contains a lot of useful meta-data in information_schema and performance_schema, which can help bring visibility into what is happening inside of your database server. However, sometimes this data is quite fine grained, and needs some finessing in order to get to that point
MySQL 5.7 includes a new SYS schema installed by default.…
Source: mysqlserverteam.com