Updated on 2024-06-03 GMT+08:00

User-defined Functions

udf_memory_limit

Parameter description: Controls the maximum physical memory that can be used when each database node executes UDFs. This parameter does not take effect in the current version. Use FencedUDFMemoryLimit and UDFWorkerMemHardLimit to control virtual memory used by fenced udf worker.

This is a POSTMASTER parameter. Set it based on instructions provided in Table 1.

Value range: an integer. The value range is from 200 x 1024 to max_process_memory and the unit is KB.

Default value: 200MB

FencedUDFMemoryLimit

Parameter description: Specifies the virtual memory used by each fenced udf worker process.

This is a USERSET parameter. Set it based on instructions provided in Table 1.

Value range: an integer ranging from 0 KB to 2147483647 KB. The unit can also be MB or GB. 0 indicates that the memory is not limited.

Default value: 0

UDFWorkerMemHardLimit

Parameter description: Specifies the maximum value of fencedUDFMemoryLimit.

This is a POSTMASTER parameter. Set it based on instructions provided in Table 1.

Value range: an integer ranging from 0 KB to 2147483647 KB. The unit can also be MB or GB.

Default value: 1GB