Set and reset configuration options on the session.
SET syntax:
SET config_option TO config_value
RESET syntax:
RESET config_option;
config_option: The configuration option to change.config_value: The value to set the option to.Set the value of partitions (degree of plan parallelism) to a new value:
SET partitions TO 8;
= may be used in place of the TO keyword:
SET partitions TO 8;
Reset the value of partitions back to its default value.
RESET partitions;