After this PR #9272, the `docs/build_help_zip.sh` will run failed. This PR fix this issue. But the help module still has some parse problem, I will fix it in next PR. This CL mainly changes: 1. fix `docs/build_help_zip.sh` error 2. remove `sql-reference-v2` to `sql-reference` 3. modify build extension github action to run `docs/build_help_zip.sh`
78 lines
2.1 KiB
Markdown
78 lines
2.1 KiB
Markdown
---
|
|
{
|
|
"title": "ADMIN-SHOW-CONFIG",
|
|
"language": "en"
|
|
}
|
|
---
|
|
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
## ADMIN-SHOW-CONFIG
|
|
|
|
### Name
|
|
|
|
ADMIN SHOW CONFIG
|
|
|
|
### Description
|
|
|
|
This statement is used to display the configuration of the current cluster (currently only the configuration items of FE are supported)
|
|
|
|
grammar:
|
|
|
|
```sql
|
|
ADMIN SHOW FRONTEND CONFIG [LIKE "pattern"];
|
|
````
|
|
|
|
The columns in the results have the following meanings:
|
|
|
|
1. Key: Configuration item name
|
|
2. Value: Configuration item value
|
|
3. Type: Configuration item type
|
|
4. IsMutable: Whether it can be set by ADMIN SET CONFIG command
|
|
5. MasterOnly: Is it only applicable to Master FE
|
|
6. Comment: Configuration item description
|
|
|
|
### Example
|
|
|
|
1. View the configuration of the current FE node
|
|
|
|
```sql
|
|
ADMIN SHOW FRONTEND CONFIG;
|
|
```
|
|
|
|
2. Use the like predicate to search the configuration of the current Fe node
|
|
|
|
````
|
|
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
|
|
|
|
### Best Practice
|
|
|