Configure Static Parameters
Under certain circumstances, you may need to configure Coordinator Node or Compute Node static parameters to achieve better query or loading performance or satisfy certain requirements. Unlike dynamic parameters, which can be configured and adjusted by running SQL commands and take effect with no downtime, modifications to static parameters can take effect only after the cluster or warehouse is restarted. To facilitate this process, CelerData allows cluster administrators to configure static parameters from the CelerData Cloud BYOC console.
Besides, dynamic parameters will become invalid if you restart the cluster or warehouse. Therefore, we recommend that you also modify dynamic parameters in the CelerData Cloud BYOC console to prevent the loss of modifications.
- Only members with the Edit cluster privilege can perform this operation.
- You can configure static parameters for clusters that are in the Running or Suspended state.
Configure static parameters for Coordinator Nodes
Follow these steps to configure Coordinator Node parameters in the CelerData Cloud BYOC console:
- Sign in to the CelerData Cloud BYOC console.
- On the Clusters page, click the cluster that you want to configure.
- On the cluster details page, click the Cluster parameters tab.
- In the Coordinator Node static configuration section, click View all parameter list.
- In the dialog box that appears, click New parameter.
- Enter the name of the parameter you want to configure in the Parameter key field, and the parameter value you want to set in the Value field.
note
CelerData provides validation checks on parameter keys and value types. Only valid parameter keys and values can be applied. For the details of the parameters you can configure, see Usage notes.
- Click the save button next to the Value field to save the record of the parameter change.
- After configuring all the parameters you want to change, click Save changes to save the changes.
- To allow the changes to take effect, you can either manually suspend and resume the cluster whenever you find suitable, or click Apply to all nodes in the Coordinator Node static configuration section to restart the cluster instantly.
Configure static parameters for Compute Nodes in a warehouse
Follow these steps to configure Compute Node parameters of a warehouse in the CelerData Cloud BYOC console:
- Sign in to the CelerData Cloud BYOC console.
- On the Clusters page, click the elastic cluster that you want to configure.
- On the cluster details page, click the Warehouses tab.
- On the Warehouses tab, click the warehouse that you want to configure.
- On the warehouse details page, click the Warehouse parameters tab.
- In the Compute Node static configuration section, click View all parameter list.
- In the dialog box that appears, click New parameter.
- Enter the name of the parameter you want to configure in the Parameter key field, and the parameter value you want to set in the Value field.
note
CelerData provides validation checks on parameter keys and value types. Only valid parameter keys and values can be applied. For the details of the parameters you can configure, see Usage notes.
- Click the save button next to the Value field to save the record of the parameter change.
- After configuring all the parameters you want to change, click Save changes to save the changes.
- To allow the changes to take effect, you can either manually suspend and resume the warehouse whenever you find it suitable, or click Apply to all nodes in the Compute Node static configuration section to restart the warehouse instantly. For
default_warehouse, you can only restart the cluster.
Usage notes
- You can view all supported parameters from StarRocks BE configuration.
- Parameters marked as
Is mutable: Noare static parameters. - The parameter value type is marked in the
Typefield of the description.
- Parameters marked as
- Modifications to infrastructure-related parameters (for example, ports and storage paths) are not allowed.