Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

webassembly_udf_* session settings

These settings are available in system.settings and are autogenerated from source.

webassembly_udf_max_fuel

Experimental feature
Type
UInt64
Default
100000
Version history
VersionDefault valueComment
26.3100000New setting to limit CPU instructions (fuel) per WebAssembly UDF instance execution.

Fuel limit per WebAssembly UDF instance execution. Each WebAssembly instruction consumes some amount of fuel. The value is scaled by 1024 before being passed to the runtime, so webassembly_udf_max_fuel = 1 corresponds to approximately 1024 fuel units. Set to 0 for no finite limit. Applies only to functions whose per-function setting webassembly_udf_enable_fuel is true, which is the default.

webassembly_udf_max_input_block_size

Experimental feature
Type
UInt64
Default
0
Version history
VersionDefault valueComment
26.30New setting to limit input block size for WebAssembly UDFs.

Maximum number of rows passed to a WebAssembly UDF in a single block. Set to 0 to process all rows at once.

webassembly_udf_max_instances

Experimental feature
Type
UInt64
Default
32
Version history
VersionDefault valueComment
26.332New setting to limit the number of parallel WebAssembly UDF instances per function.

Maximum number of WebAssembly UDF instances that can run in parallel per function.

webassembly_udf_max_memory

Experimental feature
Type
UInt64
Default
134217728
Version history
VersionDefault valueComment
26.3134217728New setting to limit memory per WebAssembly UDF instance.

Memory limit in bytes per WebAssembly UDF instance.

Navigation