This view summarizes MySQL server metrics to show variable names, values, types, and whether they are enabled. By default, rows are sorted by variable type and name.
          The metrics view includes this
          information:
- Global status variables from the Performance Schema - global_statustable
- InnoDBmetrics from the- INFORMATION_SCHEMA- INNODB_METRICStable
- Current and total memory allocation, based on the Performance Schema memory instrumentation 
- The current time (human readable and Unix timestamp formats) 
          There is some duplication of information between the
          global_status and
          INNODB_METRICS tables, which the
          metrics view eliminates.
        
          The metrics view has these
          columns:
- Variable_name- The metric name. The metric type determines the source from which the name is taken: - For global status variables: The - VARIABLE_NAMEcolumn of the- global_statustable
- For - InnoDBmetrics: The- NAMEcolumn of the- INNODB_METRICStable
- For other metrics: A view-provided descriptive string 
 
- Variable_value- The metric value. The metric type determines the source from which the value is taken: - For global status variables: The - VARIABLE_VALUEcolumn of the- global_statustable
- For - InnoDBmetrics: The- COUNTcolumn of the- INNODB_METRICStable
- For memory metrics: The relevant column from the Performance Schema - memory_summary_global_by_event_nametable
- For the current time: The value of - NOW(3)or- UNIX_TIMESTAMP(NOW(3))
 
- Type- The metric type: - For global status variables: - Global Status
- For - InnoDBmetrics:- InnoDB Metrics - %, where- %is replaced by the value of the- SUBSYSTEMcolumn of the- INNODB_METRICStable
- For memory metrics: - Performance Schema
- For the current time: - System Time
 
- Enabled- Whether the metric is enabled: - For global status variables: - YES
- For - InnoDBmetrics:- YESif the- STATUScolumn of the- INNODB_METRICStable is- enabled,- NOotherwise
- For memory metrics: - NO,- YES, or- PARTIAL(currently,- PARTIALoccurs only for memory metrics and indicates that not all- memory/%instruments are enabled; Performance Schema memory instruments are always enabled)
- For the current time: - YES