-
Notifications
You must be signed in to change notification settings - Fork 408
[doc] add doc of show backend config
#1306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| 2. View by command | ||
|
|
||
| You can view the configuration items of the FE in the MySQL client with the following command,Concrete language law reference [SHOW-CONFIG](../../sql-manual/sql-statements/Database-Administration-Statements/SHOW-CONFIG.md): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BE or FE ?
| SHOW BACKEND CONFIG FROM 10001; | ||
| ``` | ||
| 4. View the configuration useing both a pattern and a backend ID | ||
| ```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` only three `
| +-----------+---------------+---------+-------+---------+-----------+ | ||
| | 10001 | xx.xx.xxx.xxx | be_port | 9060 | int32_t | false | | ||
| +-----------+---------------+---------+-------+---------+-----------+ | ||
| ```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only three ```
| 2. Host: backend 节点 IP。 | ||
| 3. Key: 配置项名称。 | ||
| 4. Value: 配置项的值。 | ||
| 5. Type: 配置项值类型,如果整型、字符串。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如整型、字符串,多了一个果字
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议所有内容交给大模型优化下,以下是大模型优化的结果:
查看配置项
有两种方式能够查看 BE 配置项:
-
通过 BE 的 Web 管理界面查看
在浏览器中打开 BE 的 Web 管理界面: http://be_host:be_webserver_port/varz
-
通过命令行查看
可以在 MySQL 客户端中,通过以下命令查看 BE 的配置项,具体用法参照 SHOW-CONFIG:
SHOW BACKEND CONFIG;结果中各列含义如下:
- BackendId: Backend 节点 ID。
- Host: Backend 节点 IP。
- Key: 配置项名称。
- Value: 配置项的值。
- Type: 配置项值类型,如整型、字符串。
- 是否可以动态配置:如果为 true,表示该配置项可以在运行时进行动态配置。如果为 false,则表示该配置项只能在 be.conf 中配置并且重启 BE 后生效。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have done
118a7f1 to
1e6a150
Compare
Versions
PR apache/doris#36525 has implemented showing backend config by ShowStmt, add some docs.
Languages