fe.conf, is usually placed in the conf/ directory of the FE deployment path.fe_custom.conf, is used to record configuration items that users dynamically configure and persist at runtime.fe.conf, and then read the configuration items in fe_custom.conf. The configuration items in fe_custom.conf will overwrite the same configuration items in fe.conf.fe_custom.conf file can be configured through the custom_config_dir configuration item in fe.conf.ADMIN SHOW FRONTEND CONFIG; The meanings of each column in the results are as follows:fe.conf and will take effect after restarting FE.http://fe_host:fe_http_port/variable in your browser. You can view the currently effective FE configuration items in Configure Info.conf/fe.conf file. The configuration items in fe.conf will be read at the start of the FE process. Configuration items not in fe.conf will use the default value.ADMIN SET FRONTEND CONFIG ("fe_config_name" = "fe_config_value");
ADMIN SHOW FRONTEND CONFIG; command, the IsMutable column of command results reveals whether it supports dynamic configuration. Configuration items modified in this way will be invalidated after the restart of the FE process.
For more help with this command, the HELP ADMIN SET CONFIG; command can provide information.fe_custom.conf file, and they will still be effective after FE restarts.async_pending_load_task_pool_size
With ADMIN SHOW FRONTEND CONFIG;, you can see that this configuration item cannot be dynamically configured (IsMutable is false). You need to add async_pending_load_task_pool_size=20 in fe.conf, then restart the FE process to apply this configuration.dynamic_partition_enable
With ADMIN SHOW FRONTEND CONFIG;, you can see that this configuration item can be dynamically configured (IsMutable is true) and it is a configuration unique to Master FE. First, we can connect to any FE and execute the following command to modify the configuration:ADMIN SET FRONTEND CONFIG ("dynamic_partition_enable" = "true");`
set forward_to_master=true;ADMIN SHOW FRONTEND CONFIG;
fe.conf and restarting FE.max_distribution_pruner_recursion_depth
With ADMIN SHOW FRONTEND CONFIG;, you can see that this configuration item can be dynamically configured (IsMutable is true) and it is not a configuration unique to Master FE.
Similarly, we can modify this configuration through the command to modify the configuration dynamically. Since this configuration is not unique to the Master FE, you need to connect separately to different FEs and dynamically modify the configuration. This ensures that all FEs use the modified configuration value.be.conf, is usually located in the conf/ directory of the BE deployment path.be_custom.conf, is used to record configuration items that users dynamically configure and persist during running.be.conf, and then read the configuration items in be_custom.conf. The configuration items in be_custom.conf will overwrite the same items in be.conf.http://be_host:be_webserver_port/varzconf/be.conf file. The configuration items in be.conf will be read when BE starts. Items not in be.conf will use the default values.curl -X POST http://{be_ip}:{be_http_port}/api/update_config?{key}={value}'
be_custom.conf file.curl -X POST http://{be_ip}:{be_http_port}/api/update_config?{key}={value}&persist=true
max_base_compaction_concurrency in a static way
Add max_base_compaction_concurrency=5 in the be.conf file, and then restart the BE process to apply the configuration.streaming_load_max_mb dynamically
After BE starts, use the following command to dynamically set the configuration item streaming_load_max_mb:curl -X POST http://{be_ip}:{be_http_port}/api/update_config?streaming_load_max_mb=1024
{"status": "OK","msg": ""}
curl -X POST http://{be_ip}:{be_http_port}/api/update_config?streaming_load_max_mb=1024\\&persist=true
SHOW PROPERTY [FOR user] [LIKE key pattern] ; For specific syntax, use the command help show property;.SET PROPERTY [FOR 'user'] 'key' = 'value' [, 'key' = 'value'] ; For specific syntax, use the command help set property;.max_user_connections.
Use SHOW PROPERTY FOR 'Billie' LIKE '%max_user_connections%'; to view the current maximum number of connections for user Billie, which is 100.
Use SET PROPERTY FOR 'Billie' 'max_user_connections' = '200'; to change the current maximum number of connections for user Billie to 200.Feedback