Outdated Version

You are viewing an older version of this section. View current production version.

SET GLOBAL

Set a global system variable.

SET GLOBAL variable_name = value

SET @@GLOBAL.variable_name = value

Notes

  • variable_name is the name of a global system variable.
  • The @@variable_name syntax for system variables is supported for compatibility with some other database systems. This is similar to MySQL behavior.

Examples

memsql> SET @@GLOBAL.redundancy_level = {1 | 2};

memsql> SET GLOBAL plan_expiration_minutes = time_value