Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 16ba3f4

Browse files
Updating README for the removal of metrics_56
1 parent 1e33123 commit 16ba3f4

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,22 +1304,19 @@ mysql> select * from memory_global_total;
13041304
+-----------------+
13051305
```
13061306

1307-
#### metrics / metrics_56
1307+
#### metrics
13081308

13091309
##### Description
13101310

13111311
Creates a union of the following information:
13121312

1313-
* performance_schema.global_status (information_schema.GLOBAL_STATUS for metrics_56)
1313+
* performance_schema.global_status (information_schema.GLOBAL_STATUS in MySQL 5.6)
13141314
* information_schema.INNODB_METRICS
1315-
* Performance Schema global memory usage information
1315+
* Performance Schema global memory usage information (only in MySQL 5.7)
13161316
* Current time
13171317

1318-
The difference between the metrics and the metrics_56 views are whether the global status is taken from performance_schema.global_status instead of
1319-
from the Information Schema. Use the metrics view if the MySQL version is 5.6, 5.7.5 and earlier, or 5.7.6-5.7.8 with show_compatibility_56 = OFF. Otherwise use metrics_56.
1320-
See also https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_show_compatibility_56
1321-
1322-
In MySQL 5.7.6 and later the metrics_56 view will generate a warning that INFORMATION_SCHEMA.GLOBAL_STATUS is deprecated.
1318+
In MySQL 5.7 it is required that performance_schema = ON, though there is no requirements to which
1319+
instruments and consumers that are enabled. See also the description of the Enabled column below.
13231320

13241321
For view has the following columns:
13251322

@@ -4255,7 +4252,7 @@ Query OK, 0 rows affected (0.00 sec)
42554252
Create a report of the current status of the server for diagnostics purposes. Data collected includes (some items depends on versions and settings):
42564253
42574254
* The GLOBAL VARIABLES
4258-
* Several sys schema views including metrics or metrics_56
4255+
* Several sys schema views including metrics or equivalent (depending on version and settings)
42594256
* Queries in the 95th percentile
42604257
* Several ndbinfo views for MySQL Cluster
42614258
* Replication (both master and slave) information.
@@ -4271,10 +4268,14 @@ Some of the sys schema views are calculated as initial (optional), overall, delt
42714268
* The delta view is the difference from the beginning to the end. Note that for min and max values
42724269
they are simply the min or max value from the end view respectively, so does not necessarily reflect
42734270
the minimum/maximum value in the monitored period.
4274-
Note: except for the metrics/metrics_56 views the delta is only calculation between the first and last outputs.
4271+
Note: except for the metrics view the delta is only calculation between the first and last outputs.
42754272
42764273
Requires the SUPER privilege for "SET sql_log_bin = 0;".
42774274
4275+
Versions supported:
4276+
* MySQL 5.6: 5.6.10 and later
4277+
* MySQL 5.7: 5.7.9 and later
4278+
42784279
Some configuration options are supported:
42794280
42804281
* sys.diagnostics.allow_i_s_tables

0 commit comments

Comments
 (0)