You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2023/04/11 03:39:15 UTC

[shardingsphere] branch master updated: Add more mysql schema tables (#25089)

This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 977b29c3c15 Add more mysql schema tables (#25089)
977b29c3c15 is described below

commit 977b29c3c15a7684380e57d71c06c851488371d4
Author: ZhangCheng <fl...@outlook.com>
AuthorDate: Tue Apr 11 11:39:08 2023 +0800

    Add more mysql schema tables (#25089)
---
 .../schema/builder/SystemSchemaBuilderRule.java    |   3 +-
 .../resources/schema/mysql/mysql/help_topic.yaml   |  72 ++++++++
 .../schema/mysql/mysql/innodb_index_stats.yaml     |  86 ++++++++++
 .../schema/mysql/mysql/innodb_table_stats.yaml     |  70 ++++++++
 .../schema/mysql/mysql/ndb_binlog_index.yaml       | 118 +++++++++++++
 .../main/resources/schema/mysql/mysql/plugin.yaml  |  38 +++++
 .../main/resources/schema/mysql/mysql/proc.yaml    | 182 +++++++++++++++++++++
 .../resources/schema/mysql/mysql/procs_priv.yaml   |  88 ++++++++++
 .../resources/schema/mysql/mysql/proxies_priv.yaml |  80 +++++++++
 .../resources/schema/mysql/mysql/server_cost.yaml  |  54 ++++++
 .../main/resources/schema/mysql/mysql/servers.yaml |  94 +++++++++++
 .../builder/SystemSchemaBuilderRuleTest.java       |   2 +-
 .../schema/builder/SystemSchemaBuilderTest.java    |   2 +-
 .../dataset/db/select_mysql_mysql_help_topic.xml   |  27 +++
 .../db/select_mysql_mysql_innodb_index_stats.xml   |  29 ++++
 .../db/select_mysql_mysql_innodb_table_stats.xml   |  27 +++
 .../db/select_mysql_mysql_ndb_binlog_index.xml     |  33 ++++
 .../dql/dataset/db/select_mysql_mysql_plugin.xml   |  23 +++
 .../dql/dataset/db/select_mysql_mysql_proc.xml     |  41 +++++
 .../dataset/db/select_mysql_mysql_procs_priv.xml   |  29 ++++
 .../dataset/db/select_mysql_mysql_proxies_priv.xml |  28 ++++
 .../dataset/db/select_mysql_mysql_server_cost.xml  |  25 +++
 .../dql/dataset/db/select_mysql_mysql_servers.xml  |  30 ++++
 .../dql/dql-integration-select-system-schema.xml   |  40 +++++
 24 files changed, 1218 insertions(+), 3 deletions(-)

diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
index d9d1fed01f0..4b56b8d5c5e 100644
--- a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
+++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
@@ -47,7 +47,8 @@ public enum SystemSchemaBuilderRule {
             "table_constraints", "table_privileges", "tables", "tablespaces", "triggers", "user_privileges", "views"))),
     
     MYSQL_MYSQL("MySQL", "mysql", new HashSet<>(Arrays.asList("columns_priv", "db", "engine_cost", "event", "func", "general_log", "gtid_executed",
-            "help_category", "help_keyword", "help_relation"))),
+            "help_category", "help_keyword", "help_relation",
+            "help_topic", "innodb_index_stats", "innodb_table_stats", "ndb_binlog_index", "plugin", "proc", "procs_priv", "proxies_priv", "server_cost", "servers"))),
     
     MYSQL_PERFORMANCE_SCHEMA("MySQL", "performance_schema", new HashSet<>(Collections.singleton("accounts"))),
     
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/help_topic.yaml b/infra/common/src/main/resources/schema/mysql/mysql/help_topic.yaml
new file mode 100644
index 00000000000..aa49a332226
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/help_topic.yaml
@@ -0,0 +1,72 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: help_topic
+columns:
+  help_topic_id:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: help_topic_id
+    primaryKey: true
+    unsigned: true
+    visible: true
+  name:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: name
+    primaryKey: false
+    unsigned: false
+    visible: true
+  help_category_id:
+    caseSensitive: false
+    dataType: 5
+    generated: false
+    name: help_category_id
+    primaryKey: false
+    unsigned: true
+    visible: true
+  description:
+    caseSensitive: false
+    dataType: -1
+    generated: false
+    name: description
+    primaryKey: false
+    unsigned: false
+    visible: true
+  example:
+    caseSensitive: false
+    dataType: -1
+    generated: false
+    name: example
+    primaryKey: false
+    unsigned: false
+    visible: true
+  url:
+    caseSensitive: false
+    dataType: -1
+    generated: false
+    name: url
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
+  name:
+    name: name
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/innodb_index_stats.yaml b/infra/common/src/main/resources/schema/mysql/mysql/innodb_index_stats.yaml
new file mode 100644
index 00000000000..4898a39003c
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/innodb_index_stats.yaml
@@ -0,0 +1,86 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: innodb_index_stats
+columns:
+  database_name:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: database_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  table_name:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: table_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  index_name:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: index_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  last_update:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: last_update
+    primaryKey: false
+    unsigned: false
+    visible: true
+  stat_name:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: stat_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  stat_value:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: stat_value
+    primaryKey: false
+    unsigned: true
+    visible: true
+  sample_size:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: sample_size
+    primaryKey: false
+    unsigned: true
+    visible: true
+  stat_description:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: stat_description
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/innodb_table_stats.yaml b/infra/common/src/main/resources/schema/mysql/mysql/innodb_table_stats.yaml
new file mode 100644
index 00000000000..3615ce9419a
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/innodb_table_stats.yaml
@@ -0,0 +1,70 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: innodb_table_stats
+columns:
+  database_name:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: database_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  table_name:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: table_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  last_update:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: last_update
+    primaryKey: false
+    unsigned: false
+    visible: true
+  n_rows:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: n_rows
+    primaryKey: false
+    unsigned: true
+    visible: true
+  clustered_index_size:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: clustered_index_size
+    primaryKey: false
+    unsigned: true
+    visible: true
+  sum_of_other_index_sizes:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: sum_of_other_index_sizes
+    primaryKey: false
+    unsigned: true
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/ndb_binlog_index.yaml b/infra/common/src/main/resources/schema/mysql/mysql/ndb_binlog_index.yaml
new file mode 100644
index 00000000000..6364392475e
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/ndb_binlog_index.yaml
@@ -0,0 +1,118 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: ndb_binlog_index
+columns:
+  position:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: Position
+    primaryKey: false
+    unsigned: true
+    visible: true
+  file:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: File
+    primaryKey: false
+    unsigned: false
+    visible: true
+  epoch:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: epoch
+    primaryKey: true
+    unsigned: true
+    visible: true
+  inserts:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: inserts
+    primaryKey: false
+    unsigned: true
+    visible: true
+  updates:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: updates
+    primaryKey: false
+    unsigned: true
+    visible: true
+  deletes:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: deletes
+    primaryKey: false
+    unsigned: true
+    visible: true
+  schemaops:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: schemaops
+    primaryKey: false
+    unsigned: true
+    visible: true
+  orig_server_id:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: orig_server_id
+    primaryKey: true
+    unsigned: true
+    visible: true
+  orig_epoch:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: orig_epoch
+    primaryKey: true
+    unsigned: true
+    visible: true
+  gci:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: gci
+    primaryKey: false
+    unsigned: true
+    visible: true
+  next_position:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: next_position
+    primaryKey: false
+    unsigned: true
+    visible: true
+  next_file:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: next_file
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/plugin.yaml b/infra/common/src/main/resources/schema/mysql/mysql/plugin.yaml
new file mode 100644
index 00000000000..0ac3fed2c29
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/plugin.yaml
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: plugin
+columns:
+  name:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  dl:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: dl
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/proc.yaml b/infra/common/src/main/resources/schema/mysql/mysql/proc.yaml
new file mode 100644
index 00000000000..549f30eef5e
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/proc.yaml
@@ -0,0 +1,182 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: proc
+columns:
+  db:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: db
+    primaryKey: true
+    unsigned: false
+    visible: true
+  name:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  type:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: type
+    primaryKey: true
+    unsigned: false
+    visible: true
+  specific_name:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: specific_name
+    primaryKey: false
+    unsigned: false
+    visible: true
+  language:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: language
+    primaryKey: false
+    unsigned: false
+    visible: true
+  sql_data_access:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: sql_data_access
+    primaryKey: false
+    unsigned: false
+    visible: true
+  is_deterministic:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: is_deterministic
+    primaryKey: false
+    unsigned: false
+    visible: true
+  security_type:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: security_type
+    primaryKey: false
+    unsigned: false
+    visible: true
+  param_list:
+    caseSensitive: false
+    dataType: -4
+    generated: false
+    name: param_list
+    primaryKey: false
+    unsigned: false
+    visible: true
+  returns:
+    caseSensitive: false
+    dataType: -4
+    generated: false
+    name: returns
+    primaryKey: false
+    unsigned: false
+    visible: true
+  body:
+    caseSensitive: false
+    dataType: -4
+    generated: false
+    name: body
+    primaryKey: false
+    unsigned: false
+    visible: true
+  definer:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: definer
+    primaryKey: false
+    unsigned: false
+    visible: true
+  created:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: created
+    primaryKey: false
+    unsigned: false
+    visible: true
+  modified:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: modified
+    primaryKey: false
+    unsigned: false
+    visible: true
+  sql_mode:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: sql_mode
+    primaryKey: false
+    unsigned: true
+    visible: true
+  comment:
+    caseSensitive: true
+    dataType: -1
+    generated: false
+    name: comment
+    primaryKey: false
+    unsigned: false
+    visible: true
+  character_set_client:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: character_set_client
+    primaryKey: false
+    unsigned: false
+    visible: true
+  collation_connection:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: collation_connection
+    primaryKey: false
+    unsigned: false
+    visible: true
+  db_collation:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: db_collation
+    primaryKey: false
+    unsigned: false
+    visible: true
+  body_utf8:
+    caseSensitive: false
+    dataType: -4
+    generated: false
+    name: body_utf8
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/procs_priv.yaml b/infra/common/src/main/resources/schema/mysql/mysql/procs_priv.yaml
new file mode 100644
index 00000000000..cac6467845b
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/procs_priv.yaml
@@ -0,0 +1,88 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: procs_priv
+columns:
+  host:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Host
+    primaryKey: true
+    unsigned: false
+    visible: true
+  db:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Db
+    primaryKey: true
+    unsigned: false
+    visible: true
+  user:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: User
+    primaryKey: true
+    unsigned: false
+    visible: true
+  routine_name:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Routine_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  routine_type:
+    caseSensitive: true
+    dataType: 12
+    generated: false
+    name: Routine_type
+    primaryKey: true
+    unsigned: false
+    visible: true
+  grantor:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Grantor
+    primaryKey: false
+    unsigned: false
+    visible: true
+  proc_priv:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: Proc_priv
+    primaryKey: false
+    unsigned: false
+    visible: true
+  timestamp:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: Timestamp
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
+  grantor:
+    name: Grantor
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/proxies_priv.yaml b/infra/common/src/main/resources/schema/mysql/mysql/proxies_priv.yaml
new file mode 100644
index 00000000000..f6b3f6e4e62
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/proxies_priv.yaml
@@ -0,0 +1,80 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: proxies_priv
+columns:
+  host:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Host
+    primaryKey: true
+    unsigned: false
+    visible: true
+  user:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: User
+    primaryKey: true
+    unsigned: false
+    visible: true
+  proxied_host:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Proxied_host
+    primaryKey: true
+    unsigned: false
+    visible: true
+  proxied_user:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Proxied_user
+    primaryKey: true
+    unsigned: false
+    visible: true
+  with_grant:
+    caseSensitive: false
+    dataType: -6
+    generated: false
+    name: With_grant
+    primaryKey: false
+    unsigned: false
+    visible: true
+  grantor:
+    caseSensitive: true
+    dataType: 1
+    generated: false
+    name: Grantor
+    primaryKey: false
+    unsigned: false
+    visible: true
+  timestamp:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: Timestamp
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
+  grantor:
+    name: Grantor
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/server_cost.yaml b/infra/common/src/main/resources/schema/mysql/mysql/server_cost.yaml
new file mode 100644
index 00000000000..aa80b4155d7
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/server_cost.yaml
@@ -0,0 +1,54 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: server_cost
+columns:
+  cost_name:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: cost_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  cost_value:
+    caseSensitive: false
+    dataType: 7
+    generated: false
+    name: cost_value
+    primaryKey: false
+    unsigned: false
+    visible: true
+  last_update:
+    caseSensitive: false
+    dataType: 93
+    generated: false
+    name: last_update
+    primaryKey: false
+    unsigned: false
+    visible: true
+  comment:
+    caseSensitive: false
+    dataType: 12
+    generated: false
+    name: comment
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/main/resources/schema/mysql/mysql/servers.yaml b/infra/common/src/main/resources/schema/mysql/mysql/servers.yaml
new file mode 100644
index 00000000000..ca9e5de9a71
--- /dev/null
+++ b/infra/common/src/main/resources/schema/mysql/mysql/servers.yaml
@@ -0,0 +1,94 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: servers
+columns:
+  server_name:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Server_name
+    primaryKey: true
+    unsigned: false
+    visible: true
+  host:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Host
+    primaryKey: false
+    unsigned: false
+    visible: true
+  db:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Db
+    primaryKey: false
+    unsigned: false
+    visible: true
+  username:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Username
+    primaryKey: false
+    unsigned: false
+    visible: true
+  password:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Password
+    primaryKey: false
+    unsigned: false
+    visible: true
+  port:
+    caseSensitive: false
+    dataType: 4
+    generated: false
+    name: Port
+    primaryKey: false
+    unsigned: false
+    visible: true
+  socket:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Socket
+    primaryKey: false
+    unsigned: false
+    visible: true
+  wrapper:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Wrapper
+    primaryKey: false
+    unsigned: false
+    visible: true
+  owner:
+    caseSensitive: false
+    dataType: 1
+    generated: false
+    name: Owner
+    primaryKey: false
+    unsigned: false
+    visible: true
+indexes:
+  primary:
+    name: PRIMARY
diff --git a/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRuleTest.java b/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRuleTest.java
index 9ee806a5f56..ab1015c807c 100644
--- a/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRuleTest.java
+++ b/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRuleTest.java
@@ -35,7 +35,7 @@ class SystemSchemaBuilderRuleTest {
         assertThat(actualInformationSchema.getTables().size(), is(61));
         SystemSchemaBuilderRule actualMySQLSchema = SystemSchemaBuilderRule.valueOf(new MySQLDatabaseType().getType(), "mysql");
         assertThat(actualMySQLSchema, is(SystemSchemaBuilderRule.MYSQL_MYSQL));
-        assertThat(actualMySQLSchema.getTables().size(), is(10));
+        assertThat(actualMySQLSchema.getTables().size(), is(20));
     }
     
     @Test
diff --git a/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderTest.java b/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderTest.java
index 3253642d57b..ad075ce7299 100644
--- a/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderTest.java
+++ b/infra/common/src/test/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderTest.java
@@ -40,7 +40,7 @@ class SystemSchemaBuilderTest {
         Map<String, ShardingSphereSchema> actualMySQLSchema = SystemSchemaBuilder.build("mysql", new MySQLDatabaseType());
         assertThat(actualMySQLSchema.size(), is(1));
         assertTrue(actualMySQLSchema.containsKey("mysql"));
-        assertThat(actualMySQLSchema.get("mysql").getTables().size(), is(10));
+        assertThat(actualMySQLSchema.get("mysql").getTables().size(), is(20));
     }
     
     @Test
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_help_topic.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_help_topic.xml
new file mode 100644
index 00000000000..84844602aa7
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_help_topic.xml
@@ -0,0 +1,27 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="help_topic_id" />
+        <column name="name" />
+        <column name="help_category_id" />
+        <column name="description" />
+        <column name="example" />
+        <column name="url" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_innodb_index_stats.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_innodb_index_stats.xml
new file mode 100644
index 00000000000..620aeb519e4
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_innodb_index_stats.xml
@@ -0,0 +1,29 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="database_name" />
+        <column name="table_name" />
+        <column name="index_name" />
+        <column name="last_update" />
+        <column name="stat_name" />
+        <column name="stat_value" />
+        <column name="sample_size" />
+        <column name="stat_description" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_innodb_table_stats.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_innodb_table_stats.xml
new file mode 100644
index 00000000000..f39a94f75e3
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_innodb_table_stats.xml
@@ -0,0 +1,27 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="database_name" />
+        <column name="table_name" />
+        <column name="last_update" />
+        <column name="n_rows" />
+        <column name="clustered_index_size" />
+        <column name="sum_of_other_index_sizes" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_ndb_binlog_index.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_ndb_binlog_index.xml
new file mode 100644
index 00000000000..a8632d2fd5d
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_ndb_binlog_index.xml
@@ -0,0 +1,33 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="position" />
+        <column name="file" />
+        <column name="epoch" />
+        <column name="inserts" />
+        <column name="updates" />
+        <column name="deletes" />
+        <column name="schemaops" />
+        <column name="orig_server_id" />
+        <column name="orig_epoch" />
+        <column name="gci" />
+        <column name="next_position" />
+        <column name="next_file" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_plugin.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_plugin.xml
new file mode 100644
index 00000000000..75ec295afe3
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_plugin.xml
@@ -0,0 +1,23 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="name" />
+        <column name="dl" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_proc.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_proc.xml
new file mode 100644
index 00000000000..898526f30b2
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_proc.xml
@@ -0,0 +1,41 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="db" />
+        <column name="name" />
+        <column name="type" />
+        <column name="specific_name" />
+        <column name="language" />
+        <column name="sql_data_access" />
+        <column name="is_deterministic" />
+        <column name="security_type" />
+        <column name="param_list" />
+        <column name="returns" />
+        <column name="body" />
+        <column name="definer" />
+        <column name="created" />
+        <column name="modified" />
+        <column name="sql_mode" />
+        <column name="comment" />
+        <column name="character_set_client" />
+        <column name="collation_connection" />
+        <column name="db_collation" />
+        <column name="body_utf8" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_procs_priv.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_procs_priv.xml
new file mode 100644
index 00000000000..96bb3399dc1
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_procs_priv.xml
@@ -0,0 +1,29 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="host" />
+        <column name="db" />
+        <column name="user" />
+        <column name="routine_name" />
+        <column name="routine_type" />
+        <column name="grantor" />
+        <column name="proc_priv" />
+        <column name="timestamp" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_proxies_priv.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_proxies_priv.xml
new file mode 100644
index 00000000000..ea1b23959d4
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_proxies_priv.xml
@@ -0,0 +1,28 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="host" />
+        <column name="user" />
+        <column name="proxied_host" />
+        <column name="proxied_user" />
+        <column name="with_grant" />
+        <column name="grantor" />
+        <column name="timestamp" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_server_cost.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_server_cost.xml
new file mode 100644
index 00000000000..ba2a5fee47e
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_server_cost.xml
@@ -0,0 +1,25 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="cost_name" />
+        <column name="cost_value" />
+        <column name="last_update" />
+        <column name="comment" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_servers.xml b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_servers.xml
new file mode 100644
index 00000000000..1a06de9809e
--- /dev/null
+++ b/test/e2e/sql/src/test/resources/cases/dql/dataset/db/select_mysql_mysql_servers.xml
@@ -0,0 +1,30 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<dataset>
+    <metadata>
+        <column name="server_name" />
+        <column name="host" />
+        <column name="db" />
+        <column name="username" />
+        <column name="password" />
+        <column name="port" />
+        <column name="socket" />
+        <column name="wrapper" />
+        <column name="owner" />
+    </metadata>
+</dataset>
diff --git a/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema.xml b/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema.xml
index 8b4a1fec560..efc9dc574a6 100644
--- a/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema.xml
+++ b/test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema.xml
@@ -284,4 +284,44 @@
     <test-case sql="SELECT * FROM mysql.help_relation" db-types="MySQL" scenario-types="db">
         <assertion expected-data-file="select_mysql_mysql_help_relation.xml" />
     </test-case>
+
+    <test-case sql="SELECT * FROM mysql.help_topic" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_help_topic.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.innodb_index_stats" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_innodb_index_stats.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.innodb_table_stats" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_innodb_table_stats.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.ndb_binlog_index" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_ndb_binlog_index.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.plugin" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_plugin.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.proc" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_proc.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.procs_priv" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_procs_priv.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.proxies_priv" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_proxies_priv.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.server_cost" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_server_cost.xml" />
+    </test-case>
+    
+    <test-case sql="SELECT * FROM mysql.servers" db-types="MySQL" scenario-types="db">
+        <assertion expected-data-file="select_mysql_mysql_servers.xml" />
+    </test-case>
 </integration-test-cases>