ADMIN-SHOW-CONFIG

Name

ADMIN SHOW CONFIG

Description

该语句用于展示当前集群的配置(当前仅支持展示 FE 的配置项)

语法:

  1. ADMIN SHOW FRONTEND CONFIG [LIKE "pattern"];

结果中的各列含义如下:

  1. Key: 配置项名称
  2. Value: 配置项值
  3. Type: 配置项类型
  4. IsMutable: 是否可以通过 ADMIN SET CONFIG 命令设置
  5. MasterOnly: 是否仅适用于 Master FE
  6. Comment: 配置项说明

Example

  1. 查看当前FE节点的配置

    1. ```sql
    2. ADMIN SHOW FRONTEND CONFIG;
    3. ```
  2. 使用like谓词搜索当前Fe节点的配置

    1. mysql> ADMIN SHOW FRONTEND CONFIG LIKE '%check_java_version%';
    2. +--------------------+-------+---------+-----------+------------+---------+
    3. | Key | Value | Type | IsMutable | MasterOnly | Comment |
    4. +--------------------+-------+---------+-----------+------------+---------+
    5. | check_java_version | true | boolean | false | false | |
    6. +--------------------+-------+---------+-----------+------------+---------+
    7. 1 row in set (0.01 sec)

Keywords

  1. ADMIN, SHOW, CONFIG, ADMIN SHOW

Best Practice