Retro Eye care Haitian Deep Dark Default

SET DIST VARIABLE

Description

The SET DIST VARIABLE syntax is used to set system variables.

Syntax

SetDistVariable ::=
  'SET' 'DIST' 'VARIABLE' variableName '=' variableValue

variableName ::=
  identifier

variableValue ::=
  literal

Supplement

  • variableName is one of properties configuration of PROXY. Use underscores instead of hyphens in DistSQL variable names.

  • agent_plugins_enabled is used to set the agent plugin status. Its default value is TRUE.

Example

  • Set property configuration of Proxy
SET DIST VARIABLE sql_show = true;
  • Set agent plugin enable status
SET DIST VARIABLE agent_plugins_enabled = TRUE;

Reserved word

SET, DIST, VARIABLE