Skip to main content
Version: V1.4.1

PARAMETER

Description​

  • The ALTER SYSTEM [SET] parameter_name = expression statement is used to modify the value of a parameter.

  • The ALTER SYSTEM RESET parameter_name statement resets a configuration item to its default value.

Limitations and Considerations​

The effectiveness of parameters is generally divided into two types: dynamic effectiveness and restart effectiveness. Most parameters are effective dynamically, meaning they take effect without the need to restart seekdb. Before modifying a parameter, you can use the SHOW PARAMETERS LIKE statement to confirm the effectiveness of the parameter. For more information about how to view the effectiveness of a parameter, see Parameters.

seekdb saves parameter changes and resets in the instance's local store. Dynamic parameters take effect immediately. Static parameters take effect at the next startup. The parser accepts SCOPE for compatibility with existing SQL. The clause has no effect on persistence or when the change takes effect.

Permissions​

To execute the ALTER SYSTEM [SET | RESET] parameter_name = expression statement, the current user must have the ALTER SYSTEM permission. For more information about seekdb permissions, see seekdb Permission Classification.

Syntax​

Modify the value of a parameter​

ALTER SYSTEM [SET] alter_system_set_parameter_action [, alter_system_set_parameter_action...]

alter_system_set_parameter_action:
parameter_name = expression [COMMENT [=] 'text']

Parameter Description​

ParameterDescription
parameter_nameSpecifies the name of the parameter to be modified.
expressionSpecifies the new value of the parameter.
COMMENTAdds a comment about the modification. This parameter is optional, and it is recommended not to omit it.

Reset the value of a parameter​

ALTER SYSTEM RESET parameter_name
[, parameter_name ...]

Parameter Description​

ParameterDescription
parameter_nameSpecifies the name of the parameter to be reset.

Examples​

Modify the value of a parameter​

Modify the value of the syslog_level configuration item.

ALTER SYSTEM SET syslog_level = 'WARN';

Reset the value of a parameter​

The following example shows how to reset the log_disk_utilization_threshold parameter:

ALTER SYSTEM RESET log_disk_utilization_threshold;

References​