This PR is to make config items ordered by key and support like predicate for admin show config stmt
2.0 KiB
title, language
| title | language |
|---|---|
| ADMIN SHOW CONFIG | en |
ADMIN SHOW CONFIG
Description
This statement is used to show the configuration of the current cluster (currently only supporting the display of FE configuration items)
Grammar:
ADMIN SHOW FRONTEND CONFIG [LIKE "pattern"];
Explain:
The implications of the results are as follows:
- Key: Configuration item name
- Value: Configuration item value
- Type: Configuration item type
- IsMutable: 是否可以通过 ADMIN SET CONFIG 命令设置
- MasterOnly: 是否仅适用于 Master FE
- Comment: Configuration Item Description
example
- View the configuration of the current FE node
ADMIN SHOW FRONTEND CONFIG;
- Search for a configuration of the current Fe node with like predicate
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.00 sec)
keyword
ADMIN,SHOW,CONFIG