Environment Variables

The system keeps a small table of global variables, initialized upon system restart, session restart, or declared explicitly by the user.

sys.environment

nametypereferencesdescription
"name"VARCHARThe unique identifying name of the global environment variable, such as monet_version and monet_release.
"value"VARCHARThe value (as string) for the environment variable of the current instance of MonetDB.

sys.var

nametypereferencesdescription
"schema"VARCHARThe schema in which the session variable is created
"name"VARCHARThe declared name for the variable. The combination of schema and name uniquely identifies a specific variable.
"type"VARCHARThe data type of the variable.
"value"VARCHARThe value (as string) for the variable in the current session.

sys.var_values

nametypereferencesdescription
"var_name"VARCHARThe unique identifying name of the system session variable, such as current_schema, optimizer or last_id.
"value"VARCHARThe value (as string) for the system variable of the current session.

sys.keywords

nametypereferencesdescription
"keyword"VARCHARThe reserved SQL keyword.