Database management system external function calling method, device and equipment and medium
A technology for external functions and management systems, applied in the database field, which can solve the problems of robbing system resources and affecting the operation of database servers.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] This embodiment provides a method for calling an external function by a database management system. The method can be executed by the device for calling an external function provided by the database management system provided by the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and Generally can be integrated in the processor. Such as Figure 1A As shown, the method of this embodiment specifically includes:
[0028] S110. If the database server process determines that the external function execution request sent by the client is received, send the external function execution task to the AP auxiliary process through the database server process.
[0029] The database server process is a database executor used in the database management system to receive external function execution requests from clients. AP auxiliary process (Assistant Process) is an auxiliary process used to execute external function calls in ...
Embodiment 2
[0049] In this embodiment, based on the above embodiments, the communication mode between the database server process and the AP auxiliary process is selected as the pipeline communication mode, and the method for calling external functions by the above-mentioned database management system is explained in detail.
[0050] Wherein, the external function execution task will be sent to the AP auxiliary process through the database server process, specifically:
[0051] After the database server process acquires an idle dedicated pipeline from the pre-created pipeline pool or creates a new dedicated pipeline, an external function execution task message is generated, wherein the external function execution task message includes the pipeline of the dedicated pipeline name, task language type, and task information; if it is determined that the database server process opens the monitoring pipeline client, the database server process sends the external function execution task message to...
Embodiment 3
[0092] This embodiment provides a device for calling an external function by a database management system. The device can be implemented in software and / or hardware, and can generally be integrated into a processor. Such as image 3 As shown, the device includes: an external function execution task sending module 310, an external function execution task receiving module 320, an external function execution task execution module 330 and an external function execution result feedback module 340, wherein:
[0093] The external function execution task sending module 310 is configured to send the external function execution task to the AP auxiliary process through the database server process if it is determined through the database server process that the external function execution request sent by the client is received, wherein the AP auxiliary process The process is an auxiliary process used by the database management system to execute the external function call function;
[009...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


