Container framework for user-defined functions

A container and function technology, applied in the field of database systems, can solve the problems of consuming computing resources, destroying data, disabling databases, etc.
CN112424765APending Publication Date: 2021-02-26GOPIVOTAL

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GOPIVOTAL
Publication Date
2021-02-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

Methods, systems, and computer programs encoded on computer storage media, for processing user-defined functions in containers. One example system receives a query written in a primary query languagethat calls a user-defined function. The system assigns primary segment hosts to process portions of the query written in the primary query language and assigns first containers to process the call tothe user-defined function. The primary segment hosts provide to the first containers the user-defined function and one or more arguments in the call to the user-defined function. The first containersexecute the user-defined function. The primary segment hosts receive an initial result of the call to the user-defined function computed by the first containers. The primary segment hosts compute a final result of the query using the initial result. The primary segment hosts provide the final result of the query in response to receiving the query.
Need to check novelty before this filing date? Find Prior Art

Description

Background technique

[0001] This specification relates to database systems.

[0002] A database organizes data into tables with columns and rows. A unique key identifies every row in every table. A particular row represents an instance of a particular entity, and the columns in that row store the values ​​attributed to that instance. A row in one table can be linked to a row in the other table by including a column in one of the two tables that links the rows with a unique key.

[0003] A database can be divided into segments. Segments are queried by corresponding segment instances, which are computer programs executed by physical or virtual computing nodes called segment nodes. Each segment node has its own storage and processing capabilities. Under the direction of the host, each segment instance can handle a portion of queries from clients. The host can collect the results from each segment instance and return the final results to the client.

[0004] Users can write...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More