Skip to main content

What are runtime parameters?

Runtime parameters are variables that can be set at runtime to configure the behavior of RisingWave. They are also known as session variables.

How to view runtime parameters?

You can use the SHOW ALL command to view the runtime parameters, their current settings, and some notes about these parameters.
For example, you may see a table similar to this:
Runtime Parameters
Below is the detailed information about the parameters you may see after using the SHOW ALL command: If you just want to view a specific parameter’s value, you can also use the SHOW command.

How to configure runtime parameters?

You can use SET command or the set_config() function to change the setting of a runtime parameter. The syntax of the SET command is:
Where parameter_name is the name of the parameter, and value or 'value' is the new value of the parameter. DEFAULT can be written to specify resetting the parameter to its default value. For details about the set_config() function, see System administration functions, and for details about the SET command, see SET.
SET applies only to the current session.
You can also use the ALTER SYSTEM SET command to set a system-wide default value for a runtime parameter. This configuration will then be applied to every new session.
ALTER SYSTEM SET takes effect in new sessions. The value of the runtime parameter remains unchanged in the current session.
Syntax