User-defined virtual processors
User-defined classes of virtual processors protect the database server from ill-behaved user-defined routines.
- Does not yield control to other threads
- Makes blocking operating-system calls
- Modifies the global VP state
- The requirement to yield the processor regularly
- The requirement to eliminate blocking I/O calls
Functions that run in a user-defined virtual-processor class are not required to yield the processor, and they might issue direct file-system calls that block further processing by the virtual processor until the I/O is complete.
The normal processing of user queries is not affected by ill-behaved traits of a C-language UDR because these UDRs do not execute in CPU virtual processors. For a more detailed explanation of ill-behaved routines, see the HCL OneDB™ DataBlade® API Programmer's Guide.