ADMIN-SHOW-CONFIG
ADMIN-SHOW-CONFIG
Name
ADMIN SHOW CONFIG
Description
该语句用于展示当前集群的配置(当前仅支持展示 FE 的配置项)
语法:
ADMIN SHOW FRONTEND CONFIG [LIKE "pattern"];
结果中的各列含义如下:
- Key: 配置项名称
- Value: 配置项值
- Type: 配置项类型
- IsMutable: 是否可以通过 ADMIN SET CONFIG 命令设置
- MasterOnly: 是否仅适用于 Master FE
- Comment: 配置项说明
Example
-
查看当前FE节点的配置
ADMIN SHOW FRONTEND CONFIG;
-
使用like谓词搜索当前Fe节点的配置
mysql> ADMIN SHOW FRONTEND CONFIG LIKE '%check_java_version%';
+--------------------+-------+---------+-----------+------------+---------+
| Key | Value | Type | IsMutable | MasterOnly | Comment |
+--------------------+-------+---------+-----------+------------+---------+
| check_java_version | true | boolean | false | false | |
+--------------------+-------+---------+-----------+------------+---------+
1 row in set (0.01 sec)
Keywords
ADMIN, SHOW, CONFIG, ADMIN SHOW