Skip to main content

SET FRONTEND CONFIG

Note:

This is an engine administration statement. VeloDB Cloud manages FE and BE membership and host configuration for both SaaS and BYOC warehouses. Use cluster management to create or scale compute, and contact VeloDB Cloud support for service-side changes. The syntax below is retained as an engine reference.

Description​

This statement is used to set the configuration items of the cluster (currently only supports setting FE configuration items).

Syntax​

ADMIN SET {ALL FRONTENDS | FRONTEND} CONFIG ("<fe_config_key>" = "<fe_config_value>")

Required parameters​

{ALL FRONTENDS | FRONTEND}

ALL FRONTENDS: Represents all FE nodes in the engine deployment

FRONTEND: Represents the currently connected FE node, i.e., the FE node the user is interacting with

Optional parameters​

The <fe_config_key> and <fe_config_value> that need to be modified can be viewed through the SHOW FRONTEND CONFIG command

Tip:

Explanation

  • ALL FRONTENDS propagates the configuration change to the other live FE nodes. For a configuration marked as master-only, use FRONTEND, which forwards the change to the master FE.
  • This syntax does not persistently modify the configuration. After an FE restarts, the modified configuration becomes invalid. For a persistent service-side change, contact VeloDB Cloud support. Warehouse users do not edit fe.conf.

Example​

  1. Set disable_balance to true

    ADMIN SET FRONTEND CONFIG ("disable_balance" = "true");
  2. Set disable_balance of all FE nodes to true

    ADMIN SET ALL FRONTENDS CONFIG ("disable_balance" = "true");