Configure Wasm

Use the following global variables to configure the Code Engine for Wasm extensibility:

Variable Name

Description

enable_wasm

Specifies if a user can create or call Wasm UDFs/TVFs.

wasm_max_compiled_module_size

Specifies the maximum size (in bytes) that a compiled Wasm module can use.

wasm_max_linear_memory_size

Specifies the maximum linear memory (in bytes) that an individual Wasm module can use. This will further constrain UDF/TVF-specific GROW TO values.

wasm_max_raw_module_size

Specifies the maximum size (in bytes) of Wasm modules that may be loaded. The size is defined as the size of raw, uncompiled data passed in the CREATE FUNCTION statement.

Refer to Wasm Sync Variables for more information, including default values.

Last modified:

Was this article helpful?