SHOW CONFIG
This statement is used to display the configuration of the current cluster.
grammar:
SHOW (FRONTEND|BACKEND) CONFIG [LIKE "pattern"];
The columns in the results of showing FE configuration have the following meanings:
The columns in the results of showing BE configuration have the following meanings:
View the configuration of the current FE node
SHOW FRONTEND CONFIG;
Use the like predicate to search the configuration of the current Fe node
mysql> 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)
View the configuration for a specific BE using the backend ID 10001
SHOW BACKEND CONFIG FROM 10001;
View the configuration useing both a pattern and a backend ID
mysql> SHOW BACKEND CONFIG LIKE "be_port" FROM 10001; +-----------+---------------+---------+-------+---------+-----------+ | BackendId | Host | Key | Value | Type | IsMutable | +-----------+---------------+---------+-------+---------+-----------+ | 10001 | xx.xx.xxx.xxx | be_port | 9060 | int32_t | false | +-----------+---------------+---------+-------+---------+-----------+
SHOW, CONFIG