SET DIST VARIABLE

Description

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

Syntax

Grammar Railroad diagram

  1. SetDistVariable ::=
  2. 'SET' 'DIST' 'VARIABLE' (proxyPropertyName '=' proxyPropertyValue | 'agent_plugins_enabled' '=' agentPluginsEnabled)
  3. proxyPropertyName ::=
  4. identifier
  5. proxyPropertyValue ::=
  6. literal
  7. agentPluginsEnabled ::=
  8. boolean

Supplement

  • proxy_property_name is one of properties configuration of PROXY, name is split by underscore

  • agent_plugins_enabled is use to set the agent plugins enable status, the default value is FALSE

  • system_log_level is the system log level, only affects the log printing of PROXY, the default value is INFO

Example

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

Reserved word

SET, DIST, VARIABLE