Parallel processing

 

A user-defined function (UDF) can be defined to allow parallel processing.

This means that the same UDF program can be running in multiple threads at the same time. Therefore, if ALLOW PARALLEL is specified for the UDF, ensure that it is thread safe.

User-defined table functions cannot run in parallel; therefore, DISALLOW PARALLEL must be specified when creating the function

 

Parent topic:

Writing UDFs as external functions

 

Related reference


Multithreaded applications