From b79be3ba38e0a65c39e26a10c30e7905204f731e Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Fri, 20 Dec 2024 10:21:49 -0800 Subject: [PATCH] [receiver/mysql] fix oob overflow for Innodb_buffer_pool_pages_misc --- .chloggen/mysql_oob_misc.yaml | 29 + receiver/mysqlreceiver/scraper.go | 6 +- receiver/mysqlreceiver/scraper_test.go | 31 + .../testdata/scraper/expected_oob.yaml | 664 ++++++++++++++++++ .../testdata/scraper/global_stats_oob.txt | 473 +++++++++++++ 5 files changed, 1202 insertions(+), 1 deletion(-) create mode 100644 .chloggen/mysql_oob_misc.yaml create mode 100644 receiver/mysqlreceiver/testdata/scraper/expected_oob.yaml create mode 100644 receiver/mysqlreceiver/testdata/scraper/global_stats_oob.txt diff --git a/.chloggen/mysql_oob_misc.yaml b/.chloggen/mysql_oob_misc.yaml new file mode 100644 index 000000000000..1dcb142b1cc7 --- /dev/null +++ b/.chloggen/mysql_oob_misc.yaml @@ -0,0 +1,29 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: mysqlreceiver + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Avoid recording a value for the MysqlBufferPoolPages metric when out-of-bounds. + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [35495] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: | + When using compressed tables, Innodb_buffer_pool_pages_misc may report an out-of-bounds value. + See https://bugs.mysql.com/bug.php?id=59550 for context. + +# If your change doesn't affect end users or the exported elements of any package, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [] diff --git a/receiver/mysqlreceiver/scraper.go b/receiver/mysqlreceiver/scraper.go index d81eada662c1..40e9f21a30f9 100644 --- a/receiver/mysqlreceiver/scraper.go +++ b/receiver/mysqlreceiver/scraper.go @@ -139,9 +139,13 @@ func (m *mySQLScraper) scrapeGlobalStats(now pcommon.Timestamp, errs *scrapererr addPartialIfError(errs, m.mb.RecordMysqlBufferPoolPagesDataPoint(now, v, metadata.AttributeBufferPoolPagesFree)) case "Innodb_buffer_pool_pages_misc": + _, err := strconv.ParseInt(v, 10, 64) + if err != nil { + m.logger.Warn("Innodb_buffer_pool_pages_misc reports an out-of-bounds value and will be ignored. See https://bugs.mysql.com/bug.php?id=59550.") + continue + } addPartialIfError(errs, m.mb.RecordMysqlBufferPoolPagesDataPoint(now, v, metadata.AttributeBufferPoolPagesMisc)) - // buffer_pool.page_flushes case "Innodb_buffer_pool_pages_flushed": addPartialIfError(errs, m.mb.RecordMysqlBufferPoolPageFlushesDataPoint(now, v)) diff --git a/receiver/mysqlreceiver/scraper_test.go b/receiver/mysqlreceiver/scraper_test.go index 5aad9b322331..bf51c0820ba0 100644 --- a/receiver/mysqlreceiver/scraper_test.go +++ b/receiver/mysqlreceiver/scraper_test.go @@ -125,6 +125,37 @@ func TestScrape(t *testing.T) { }) } +func TestScrapeBufferPoolPagesMiscOutOfBounds(t *testing.T) { + + expectedFile := filepath.Join("testdata", "scraper", "expected_oob.yaml") + expectedMetrics, err := golden.ReadMetrics(expectedFile) + require.NoError(t, err) + + cfg := createDefaultConfig().(*Config) + cfg.Username = "otel" + cfg.Password = "otel" + cfg.AddrConfig = confignet.AddrConfig{Endpoint: "localhost:3306"} + + scraper := newMySQLScraper(receivertest.NewNopSettings(), cfg) + scraper.sqlclient = &mockClient{ + globalStatsFile: "global_stats_oob", + innodbStatsFile: "innodb_stats_empty", + tableIoWaitsFile: "table_io_waits_stats_empty", + indexIoWaitsFile: "index_io_waits_stats_empty", + tableStatsFile: "table_stats_empty", + statementEventsFile: "statement_events_empty", + tableLockWaitEventStatsFile: "table_lock_wait_event_stats_empty", + replicaStatusFile: "replica_stats_empty", + } + + scraper.renameCommands = true + + actualMetrics, err := scraper.scrape(context.Background()) + require.NoError(t, err) + require.NoError(t, pmetrictest.CompareMetrics(actualMetrics, expectedMetrics, + pmetrictest.IgnoreMetricDataPointsOrder(), pmetrictest.IgnoreStartTimestamp(), pmetrictest.IgnoreTimestamp())) +} + var _ client = (*mockClient)(nil) type mockClient struct { diff --git a/receiver/mysqlreceiver/testdata/scraper/expected_oob.yaml b/receiver/mysqlreceiver/testdata/scraper/expected_oob.yaml new file mode 100644 index 000000000000..e4c19e7b7876 --- /dev/null +++ b/receiver/mysqlreceiver/testdata/scraper/expected_oob.yaml @@ -0,0 +1,664 @@ +resourceMetrics: + - resource: + attributes: + - key: mysql.instance.endpoint + value: + stringValue: localhost:3306 + scopeMetrics: + - metrics: + - description: The number of data pages in the InnoDB buffer pool. + name: mysql.buffer_pool.data_pages + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "2" + attributes: + - key: status + value: + stringValue: clean + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "228" + attributes: + - key: status + value: + stringValue: dirty + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + unit: "1" + - description: The number of operations on the InnoDB buffer pool. + name: mysql.buffer_pool.operations + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "237" + attributes: + - key: operation + value: + stringValue: read_ahead + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "238" + attributes: + - key: operation + value: + stringValue: read_ahead_evicted + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "236" + attributes: + - key: operation + value: + stringValue: read_ahead_rnd + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "239" + attributes: + - key: operation + value: + stringValue: read_requests + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "240" + attributes: + - key: operation + value: + stringValue: reads + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "241" + attributes: + - key: operation + value: + stringValue: wait_free + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "242" + attributes: + - key: operation + value: + stringValue: write_requests + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of requests to flush pages from the InnoDB buffer pool. + name: mysql.buffer_pool.page_flushes + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "232" + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of pages in the InnoDB buffer pool. + name: mysql.buffer_pool.pages + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "230" + attributes: + - key: kind + value: + stringValue: data + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "233" + attributes: + - key: kind + value: + stringValue: free + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + unit: "1" + - description: The number of bytes in the InnoDB buffer pool. + name: mysql.buffer_pool.usage + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "2" + attributes: + - key: status + value: + stringValue: clean + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "229" + attributes: + - key: status + value: + stringValue: dirty + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + unit: By + - description: The number of writes to the InnoDB doublewrite buffer. + name: mysql.double_writes + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "251" + attributes: + - key: kind + value: + stringValue: pages_written + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "252" + attributes: + - key: kind + value: + stringValue: writes + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of requests to various MySQL handlers. + name: mysql.handlers + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "200" + attributes: + - key: kind + value: + stringValue: commit + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "211" + attributes: + - key: kind + value: + stringValue: delete + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "212" + attributes: + - key: kind + value: + stringValue: discover + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "213" + attributes: + - key: kind + value: + stringValue: external_lock + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "214" + attributes: + - key: kind + value: + stringValue: mrr_init + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "215" + attributes: + - key: kind + value: + stringValue: prepare + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "216" + attributes: + - key: kind + value: + stringValue: read_first + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "217" + attributes: + - key: kind + value: + stringValue: read_key + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "218" + attributes: + - key: kind + value: + stringValue: read_last + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "219" + attributes: + - key: kind + value: + stringValue: read_next + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "220" + attributes: + - key: kind + value: + stringValue: read_prev + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "221" + attributes: + - key: kind + value: + stringValue: read_rnd + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "222" + attributes: + - key: kind + value: + stringValue: read_rnd_next + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "223" + attributes: + - key: kind + value: + stringValue: rollback + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "224" + attributes: + - key: kind + value: + stringValue: savepoint + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "225" + attributes: + - key: kind + value: + stringValue: savepoint_rollback + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "226" + attributes: + - key: kind + value: + stringValue: update + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "227" + attributes: + - key: kind + value: + stringValue: write + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of MySQL locks. + name: mysql.locks + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "440" + attributes: + - key: kind + value: + stringValue: immediate + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "441" + attributes: + - key: kind + value: + stringValue: waited + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of InnoDB log operations. + name: mysql.log_operations + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "253" + attributes: + - key: operation + value: + stringValue: waits + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "254" + attributes: + - key: operation + value: + stringValue: write_requests + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "255" + attributes: + - key: operation + value: + stringValue: writes + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of mysqlx connections. + name: mysql.mysqlx_connections + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "307" + attributes: + - key: status + value: + stringValue: accepted + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "308" + attributes: + - key: status + value: + stringValue: closed + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "309" + attributes: + - key: status + value: + stringValue: rejected + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of opened resources. + name: mysql.opened_resources + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "371" + attributes: + - key: kind + value: + stringValue: file + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "373" + attributes: + - key: kind + value: + stringValue: table + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "372" + attributes: + - key: kind + value: + stringValue: table_definition + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of InnoDB operations. + name: mysql.operations + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "243" + attributes: + - key: operation + value: + stringValue: fsyncs + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "248" + attributes: + - key: operation + value: + stringValue: reads + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "249" + attributes: + - key: operation + value: + stringValue: writes + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of InnoDB page operations. + name: mysql.page_operations + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "261" + attributes: + - key: operation + value: + stringValue: created + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "262" + attributes: + - key: operation + value: + stringValue: read + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "263" + attributes: + - key: operation + value: + stringValue: written + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of times each type of prepared statement command has been issued. + name: mysql.prepared_statements + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "163" + attributes: + - key: command + value: + stringValue: close + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "162" + attributes: + - key: command + value: + stringValue: execute + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "164" + attributes: + - key: command + value: + stringValue: fetch + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "165" + attributes: + - key: command + value: + stringValue: prepare + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "166" + attributes: + - key: command + value: + stringValue: reset + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "167" + attributes: + - key: command + value: + stringValue: send_long_data + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of InnoDB row locks. + name: mysql.row_locks + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "266" + attributes: + - key: kind + value: + stringValue: time + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "269" + attributes: + - key: kind + value: + stringValue: waits + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of InnoDB row operations. + name: mysql.row_operations + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "270" + attributes: + - key: operation + value: + stringValue: deleted + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "271" + attributes: + - key: operation + value: + stringValue: inserted + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "272" + attributes: + - key: operation + value: + stringValue: read + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "273" + attributes: + - key: operation + value: + stringValue: updated + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of MySQL sorts. + name: mysql.sorts + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "416" + attributes: + - key: kind + value: + stringValue: merge_passes + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "417" + attributes: + - key: kind + value: + stringValue: range + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "418" + attributes: + - key: kind + value: + stringValue: rows + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "419" + attributes: + - key: kind + value: + stringValue: scan + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The state of MySQL threads. + name: mysql.threads + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "448" + attributes: + - key: kind + value: + stringValue: cached + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "449" + attributes: + - key: kind + value: + stringValue: connected + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "450" + attributes: + - key: kind + value: + stringValue: created + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "451" + attributes: + - key: kind + value: + stringValue: running + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + unit: "1" + - description: The number of created temporary resources. + name: mysql.tmp_resources + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "189" + attributes: + - key: resource + value: + stringValue: disk_tables + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "190" + attributes: + - key: resource + value: + stringValue: files + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + - asInt: "191" + attributes: + - key: resource + value: + stringValue: tables + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: "1" + - description: The number of seconds that the server has been up. + name: mysql.uptime + sum: + aggregationTemporality: 2 + dataPoints: + - asInt: "452" + startTimeUnixNano: "1000000" + timeUnixNano: "2000000" + isMonotonic: true + unit: s + scope: + name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver + version: latest diff --git a/receiver/mysqlreceiver/testdata/scraper/global_stats_oob.txt b/receiver/mysqlreceiver/testdata/scraper/global_stats_oob.txt new file mode 100644 index 000000000000..c00a208dbebe --- /dev/null +++ b/receiver/mysqlreceiver/testdata/scraper/global_stats_oob.txt @@ -0,0 +1,473 @@ +Variable_name Value +Aborted_clients 1 +Aborted_connects 2 +Acl_cache_items_count 3 +Binlog_cache_disk_use 4 +Binlog_cache_use 5 +Binlog_stmt_cache_disk_use 6 +Binlog_stmt_cache_use 7 +Bytes_received 8 +Bytes_sent 9 +Com_admin_commands 10 +Com_assign_to_keycache 11 +Com_alter_db 12 +Com_alter_event 13 +Com_alter_function 14 +Com_alter_instance 15 +Com_alter_procedure 16 +Com_alter_resource_group 17 +Com_alter_server 18 +Com_alter_table 19 +Com_alter_tablespace 20 +Com_alter_user 21 +Com_alter_user_default_role 22 +Com_analyze 23 +Com_begin 24 +Com_binlog 25 +Com_call_procedure 26 +Com_change_db 27 +Com_change_master 28 +Com_change_repl_filter 29 +Com_change_replication_source 30 +Com_check 31 +Com_checksum 32 +Com_clone 33 +Com_commit 34 +Com_create_db 35 +Com_create_event 36 +Com_create_function 37 +Com_create_index 38 +Com_create_procedure 39 +Com_create_role 40 +Com_create_server 41 +Com_create_table 42 +Com_create_resource_group 43 +Com_create_trigger 44 +Com_create_udf 45 +Com_create_user 46 +Com_create_view 47 +Com_create_spatial_reference_system 48 +Com_dealloc_sql 49 +Com_delete 50 +Com_delete_multi 51 +Com_do 52 +Com_drop_db 53 +Com_drop_event 54 +Com_drop_function 55 +Com_drop_index 56 +Com_drop_procedure 57 +Com_drop_resource_group 58 +Com_drop_role 59 +Com_drop_server 60 +Com_drop_spatial_reference_system 61 +Com_drop_table 62 +Com_drop_trigger 63 +Com_drop_user 64 +Com_drop_view 65 +Com_empty_query 66 +Com_execute_sql 67 +Com_explain_other 68 +Com_flush 69 +Com_get_diagnostics 70 +Com_grant 71 +Com_grant_roles 72 +Com_ha_close 73 +Com_ha_open 74 +Com_ha_read 75 +Com_help 76 +Com_import 77 +Com_insert 78 +Com_insert_select 79 +Com_install_component 80 +Com_install_plugin 81 +Com_kill 82 +Com_load 83 +Com_lock_instance 84 +Com_lock_tables 85 +Com_optimize 86 +Com_preload_keys 87 +Com_prepare_sql 88 +Com_purge 89 +Com_purge_before_date 90 +Com_release_savepoint 91 +Com_rename_table 92 +Com_rename_user 93 +Com_repair 94 +Com_replace 95 +Com_replace_select 96 +Com_reset 97 +Com_resignal 98 +Com_restart 99 +Com_revoke 100 +Com_revoke_all 101 +Com_revoke_roles 102 +Com_rollback 103 +Com_rollback_to_savepoint 104 +Com_savepoint 105 +Com_select 106 +Com_set_option 107 +Com_set_password 108 +Com_set_resource_group 109 +Com_set_role 110 +Com_signal 111 +Com_show_binlog_events 112 +Com_show_binlogs 113 +Com_show_charsets 114 +Com_show_collations 115 +Com_show_create_db 116 +Com_show_create_event 117 +Com_show_create_func 118 +Com_show_create_proc 119 +Com_show_create_table 120 +Com_show_create_trigger 121 +Com_show_databases 122 +Com_show_engine_logs 123 +Com_show_engine_mutex 124 +Com_show_engine_status 125 +Com_show_events 126 +Com_show_errors 127 +Com_show_fields 128 +Com_show_function_code 129 +Com_show_function_status 130 +Com_show_grants 131 +Com_show_keys 132 +Com_show_master_status 133 +Com_show_open_tables 134 +Com_show_plugins 135 +Com_show_privileges 136 +Com_show_procedure_code 137 +Com_show_procedure_status 138 +Com_show_processlist 139 +Com_show_profile 140 +Com_show_profiles 141 +Com_show_relaylog_events 142 +Com_show_replicas 143 +Com_show_slave_hosts 144 +Com_show_replica_status 145 +Com_show_slave_status 146 +Com_show_status 147 +Com_show_storage_engines 148 +Com_show_table_status 149 +Com_show_tables 150 +Com_show_triggers 151 +Com_show_variables 152 +Com_show_warnings 153 +Com_show_create_user 154 +Com_shutdown 155 +Com_replica_start 156 +Com_slave_start 157 +Com_replica_stop 158 +Com_slave_stop 159 +Com_group_replication_start 160 +Com_group_replication_stop 161 +Com_stmt_execute 162 +Com_stmt_close 163 +Com_stmt_fetch 164 +Com_stmt_prepare 165 +Com_stmt_reset 166 +Com_stmt_send_long_data 167 +Com_truncate 168 +Com_uninstall_component 169 +Com_uninstall_plugin 170 +Com_unlock_instance 171 +Com_unlock_tables 172 +Com_update 173 +Com_update_multi 174 +Com_xa_commit 175 +Com_xa_end 176 +Com_xa_prepare 177 +Com_xa_recover 178 +Com_xa_rollback 179 +Com_xa_start 180 +Com_stmt_reprepare 181 +Connection_errors_accept 182 +Connection_errors_internal 183 +Connection_errors_max_connections 184 +Connection_errors_peer_address 185 +Connection_errors_select 186 +Connection_errors_tcpwrap 187 +Connections 188 +Created_tmp_disk_tables 189 +Created_tmp_files 190 +Created_tmp_tables 191 +Current_tls_ca ca.pem +Current_tls_capath +Current_tls_cert server-cert.pem +Current_tls_cipher +Current_tls_ciphersuites +Current_tls_crl +Current_tls_crlpath +Current_tls_key server-key.pem +Current_tls_version TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 +Delayed_errors 192 +Delayed_insert_threads 193 +Delayed_writes 194 +Error_log_buffered_bytes 195 +Error_log_buffered_events 196 +Error_log_expired_events 197 +Error_log_latest_write 198 +Flush_commands 199 +Handler_commit 200 +Handler_delete 211 +Handler_discover 212 +Handler_external_lock 213 +Handler_mrr_init 214 +Handler_prepare 215 +Handler_read_first 216 +Handler_read_key 217 +Handler_read_last 218 +Handler_read_next 219 +Handler_read_prev 220 +Handler_read_rnd 221 +Handler_read_rnd_next 222 +Handler_rollback 223 +Handler_savepoint 224 +Handler_savepoint_rollback 225 +Handler_update 226 +Handler_write 227 +Innodb_buffer_pool_dump_status Dumping of buffer pool not started +Innodb_buffer_pool_load_status Buffer pool(s) load completed at 210702 12:58:45 +Innodb_buffer_pool_resize_status +Innodb_buffer_pool_pages_data 230 +Innodb_buffer_pool_bytes_data 231 +Innodb_buffer_pool_pages_dirty 228 +Innodb_buffer_pool_bytes_dirty 229 +Innodb_buffer_pool_pages_flushed 232 +Innodb_buffer_pool_pages_free 233 +Innodb_buffer_pool_pages_misc 18446744073709532994 +Innodb_buffer_pool_pages_total 235 +Innodb_buffer_pool_read_ahead_rnd 236 +Innodb_buffer_pool_read_ahead 237 +Innodb_buffer_pool_read_ahead_evicted 238 +Innodb_buffer_pool_read_requests 239 +Innodb_buffer_pool_reads 240 +Innodb_buffer_pool_wait_free 241 +Innodb_buffer_pool_write_requests 242 +Innodb_data_fsyncs 243 +Innodb_data_pending_fsyncs 244 +Innodb_data_pending_reads 245 +Innodb_data_pending_writes 246 +Innodb_data_read 247 +Innodb_data_reads 248 +Innodb_data_writes 249 +Innodb_data_written 250 +Innodb_dblwr_pages_written 251 +Innodb_dblwr_writes 252 +Innodb_log_waits 253 +Innodb_log_write_requests 254 +Innodb_log_writes 255 +Innodb_os_log_fsyncs 256 +Innodb_os_log_pending_fsyncs 257 +Innodb_os_log_pending_writes 258 +Innodb_os_log_written 259 +Innodb_page_size 260 +Innodb_pages_created 261 +Innodb_pages_read 262 +Innodb_pages_written 263 +Innodb_redo_log_enabled 264 +Innodb_row_lock_current_waits 265 +Innodb_row_lock_time 266 +Innodb_row_lock_time_avg 267 +Innodb_row_lock_time_max 268 +Innodb_row_lock_waits 269 +Innodb_rows_deleted 270 +Innodb_rows_inserted 271 +Innodb_rows_read 272 +Innodb_rows_updated 273 +Innodb_system_rows_deleted 274 +Innodb_system_rows_inserted 275 +Innodb_system_rows_read 276 +Innodb_system_rows_updated 277 +Innodb_sampled_pages_read 278 +Innodb_sampled_pages_skipped 279 +Innodb_num_open_files 280 +Innodb_truncated_status_writes 281 +Innodb_undo_tablespaces_total 282 +Innodb_undo_tablespaces_implicit 283 +Innodb_undo_tablespaces_explicit 284 +Innodb_undo_tablespaces_active 285 +Key_blocks_not_flushed 286 +Key_blocks_unused 287 +Key_blocks_used 288 +Key_read_requests 289 +Key_reads 290 +Key_write_requests 291 +Key_writes 292 +Locked_connects 293 +Max_execution_time_exceeded 294 +Max_execution_time_set 295 +Max_execution_time_set_failed 296 +Max_used_connections 297 +Max_used_connections_time 2021-07-02 12:58:47 +Mysqlx_aborted_clients 298 +Mysqlx_address :: +Mysqlx_bytes_received 299 +Mysqlx_bytes_received_compressed_payload 300 +Mysqlx_bytes_received_uncompressed_frame 301 +Mysqlx_bytes_sent 302 +Mysqlx_bytes_sent_compressed_payload 303 +Mysqlx_bytes_sent_uncompressed_frame 304 +Mysqlx_compression_algorithm +Mysqlx_compression_level +Mysqlx_connection_accept_errors 305 +Mysqlx_connection_errors 306 +Mysqlx_connections_accepted 307 +Mysqlx_connections_closed 308 +Mysqlx_connections_rejected 309 +Mysqlx_crud_create_view 310 +Mysqlx_crud_delete 311 +Mysqlx_crud_drop_view 312 +Mysqlx_crud_find 313 +Mysqlx_crud_insert 314 +Mysqlx_crud_modify_view 315 +Mysqlx_crud_update 316 +Mysqlx_cursor_close 317 +Mysqlx_cursor_fetch 318 +Mysqlx_cursor_open 319 +Mysqlx_errors_sent 320 +Mysqlx_errors_unknown_message_type 321 +Mysqlx_expect_close 322 +Mysqlx_expect_open 323 +Mysqlx_init_error 324 +Mysqlx_messages_sent 325 +Mysqlx_notice_global_sent 326 +Mysqlx_notice_other_sent 327 +Mysqlx_notice_warning_sent 328 +Mysqlx_notified_by_group_replication 329 +Mysqlx_port 330 +Mysqlx_prep_deallocate 331 +Mysqlx_prep_execute 332 +Mysqlx_prep_prepare 333 +Mysqlx_rows_sent 334 +Mysqlx_sessions 335 +Mysqlx_sessions_accepted 336 +Mysqlx_sessions_closed 337 +Mysqlx_sessions_fatal_error 338 +Mysqlx_sessions_killed 339 +Mysqlx_sessions_rejected 340 +Mysqlx_socket /var/run/mysqld/mysqlx.sock +Mysqlx_ssl_accepts 341 +Mysqlx_ssl_active +Mysqlx_ssl_cipher +Mysqlx_ssl_cipher_list +Mysqlx_ssl_ctx_verify_depth 342 +Mysqlx_ssl_ctx_verify_mode 343 +Mysqlx_ssl_finished_accepts 344 +Mysqlx_ssl_server_not_after Jun 30 12:58:27 2031 GMT +Mysqlx_ssl_server_not_before Jul 2 12:58:27 2021 GMT +Mysqlx_ssl_verify_depth +Mysqlx_ssl_verify_mode +Mysqlx_ssl_version +Mysqlx_stmt_create_collection 345 +Mysqlx_stmt_create_collection_index 347 +Mysqlx_stmt_disable_notices 348 +Mysqlx_stmt_drop_collection 349 +Mysqlx_stmt_drop_collection_index 350 +Mysqlx_stmt_enable_notices 351 +Mysqlx_stmt_ensure_collection 352 +Mysqlx_stmt_execute_mysqlx 353 +Mysqlx_stmt_execute_sql 354 +Mysqlx_stmt_execute_xplugin 355 +Mysqlx_stmt_get_collection_options 356 +Mysqlx_stmt_kill_client 357 +Mysqlx_stmt_list_clients 358 +Mysqlx_stmt_list_notices 359 +Mysqlx_stmt_list_objects 360 +Mysqlx_stmt_modify_collection_options 361 +Mysqlx_stmt_ping 362 +Mysqlx_worker_threads 363 +Mysqlx_worker_threads_active 364 +Not_flushed_delayed_rows 365 +Ongoing_anonymous_transaction_count 366 +Open_files 367 +Open_streams 368 +Open_table_definitions 369 +Open_tables 370 +Opened_files 371 +Opened_table_definitions 372 +Opened_tables 373 +Performance_schema_accounts_lost 374 +Performance_schema_cond_classes_lost 375 +Performance_schema_cond_instances_lost 376 +Performance_schema_digest_lost 377 +Performance_schema_file_classes_lost 378 +Performance_schema_file_handles_lost 379 +Performance_schema_file_instances_lost 380 +Performance_schema_hosts_lost 381 +Performance_schema_index_stat_lost 382 +Performance_schema_locker_lost 383 +Performance_schema_memory_classes_lost 384 +Performance_schema_metadata_lock_lost 385 +Performance_schema_mutex_classes_lost 386 +Performance_schema_mutex_instances_lost 387 +Performance_schema_nested_statement_lost 388 +Performance_schema_prepared_statements_lost 389 +Performance_schema_program_lost 390 +Performance_schema_rwlock_classes_lost 391 +Performance_schema_rwlock_instances_lost 392 +Performance_schema_session_connect_attrs_longest_seen 393 +Performance_schema_session_connect_attrs_lost 394 +Performance_schema_socket_classes_lost 395 +Performance_schema_socket_instances_lost 396 +Performance_schema_stage_classes_lost 397 +Performance_schema_statement_classes_lost 398 +Performance_schema_table_handles_lost 399 +Performance_schema_table_instances_lost 400 +Performance_schema_table_lock_stat_lost 401 +Performance_schema_thread_classes_lost 402 +Performance_schema_thread_instances_lost 403 +Performance_schema_users_lost 404 +Prepared_stmt_count 405 +Queries 406 +Questions 407 +Select_full_join 408 +Select_full_range_join 409 +Select_range 410 +Select_range_check 411 +Select_scan 412 +Slave_open_temp_tables 413 +Slow_launch_threads 414 +Slow_queries 415 +Sort_merge_passes 416 +Sort_range 417 +Sort_rows 418 +Sort_scan 419 +Ssl_accept_renegotiates 420 +Ssl_accepts 421 +Ssl_callback_cache_hits 422 +Ssl_cipher 423 +Ssl_cipher_list +Ssl_client_connects 424 +Ssl_connect_renegotiates 425 +Ssl_ctx_verify_depth 426 +Ssl_ctx_verify_mode 427 +Ssl_default_timeout 428 +Ssl_finished_accepts 429 +Ssl_finished_connects 430 +Ssl_server_not_after Jun 30 12:58:27 2031 GMT +Ssl_server_not_before Jul 2 12:58:27 2021 GMT +Ssl_session_cache_hits 431 +Ssl_session_cache_misses 432 +Ssl_session_cache_mode SERVER +Ssl_session_cache_overflows 433 +Ssl_session_cache_size 434 +Ssl_session_cache_timeouts 435 +Ssl_sessions_reused 436 +Ssl_used_session_cache_entries 437 +Ssl_verify_depth 438 +Ssl_verify_mode 439 +Ssl_version +Table_locks_immediate 440 +Table_locks_waited 441 +Table_open_cache_hits 442 +Table_open_cache_misses 443 +Table_open_cache_overflows 444 +Tc_log_max_pages_used 445 +Tc_log_page_size 446 +Tc_log_page_waits 447 +Threads_cached 448 +Threads_connected 449 +Threads_created 450 +Threads_running 451 +Uptime 452 +Uptime_since_flush_status 453