INSPECTION_RULES

INSPECTION_RULES 表提供在检查结果中运行哪些诊断测试的信息,示例用法参见inspection-result 表。

1. USE information_schema;
2. DESC inspection_rules;
1. +---------+--------------+------+------+---------+-------+
2. | Field   | Type         | Null | Key  | Default | Extra |
3. +---------+--------------+------+------+---------+-------+
4. | NAME    | varchar(64)  | YES  |      | NULL    |       |
5. | TYPE    | varchar(64)  | YES  |      | NULL    |       |
6. | COMMENT | varchar(256) | YES  |      | NULL    |       |
7. +---------+--------------+------+------+---------+-------+
8. 3 rows in set (0.00 sec)
1. SELECT * FROM inspection_rules;
1. +-----------------+------------+---------+
2. | NAME            | TYPE       | COMMENT |
3. +-----------------+------------+---------+
4. | config          | inspection |         |
5. | version         | inspection |         |
6. | node-load       | inspection |         |
7. | critical-error  | inspection |         |
8. | threshold-check | inspection |         |
9. | ddl             | summary    |         |
10. | gc              | summary    |         |
11. | pd              | summary    |         |
12. | query-summary   | summary    |         |
13. | raftstore       | summary    |         |
14. | read-link       | summary    |         |
15. | rocksdb         | summary    |         |
16. | stats           | summary    |         |
17. | wait-events     | summary    |         |
18. | write-link      | summary    |         |
19. +-----------------+------------+---------+
20. 15 rows in set (0.00 sec)