Skip to main content
Version: 2.5

ADMIN SET CONFIG

Description

This statement is used to set configuration items for the cluster (Currently, only FE dynamic configuration items can be set using this command). You can view these configuration items using the ADMIN SHOW FRONTEND CONFIG command.

The configurations will be restored to the default values in the fe.conf file after the FE restarts. Therefore, we recommend that you also modify the configuration items in fe.conf to prevent the loss of modifications.

Syntax

ADMIN SET FRONTEND CONFIG ("key" = "value")

Examples

  1. Set disable_balance to true.

    ADMIN SET FRONTEND CONFIG ("disable_balance" = "true");