Parallel processing database tree structure
First Claim
Patent Images
1. A method for executing queries in a parallel processing database system, comprising:
- receiving a query at a master node, the master node comprising a database catalog including metadata;
deriving a plurality of query plans based at least in part on the query;
transmitting, to a plurality of worker nodes, corresponding ones of the plurality of query plans and associated query metadata, wherein the query metadata includes information used in connection with executing the query plans; and
in the event that additional metadata is needed in connection with executing one of the plurality of query plans, receiving a request for additional metadata corresponding to the query plan for which additional metadata is needed, wherein a parent node is queried for the additional metadata, the parent node comprising a metadata cache, and in the event that the parent node does not comprise the additional metadata, successive ancestor nodes are queried until the additional metadata is found or until all successive ancestor nodes have been queried.
9 Assignments
0 Petitions
Accused Products
Abstract
Database system comprising nodes configured in a tree structure is disclosed. The system includes a shared metadata store on the root node. Child nodes may request metadata from their ancestors. Parents will forward the request upward until the metadata is found or the root node is reached.
-
Citations
27 Claims
-
1. A method for executing queries in a parallel processing database system, comprising:
-
receiving a query at a master node, the master node comprising a database catalog including metadata; deriving a plurality of query plans based at least in part on the query; transmitting, to a plurality of worker nodes, corresponding ones of the plurality of query plans and associated query metadata, wherein the query metadata includes information used in connection with executing the query plans; and in the event that additional metadata is needed in connection with executing one of the plurality of query plans, receiving a request for additional metadata corresponding to the query plan for which additional metadata is needed, wherein a parent node is queried for the additional metadata, the parent node comprising a metadata cache, and in the event that the parent node does not comprise the additional metadata, successive ancestor nodes are queried until the additional metadata is found or until all successive ancestor nodes have been queried. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer program product for executing queries in a parallel processing database system, comprising a non-transitory computer readable medium having program instructions embodied therein for:
-
receiving a query at a master node, the master node comprising a database catalog including metadata; deriving a plurality of query plans based at least in part on the query; transmitting, to a plurality of worker nodes, corresponding ones of the plurality of query plans and associated query metadata, wherein the query metadata includes information used in connection with executing the query plans; and in the event that additional metadata is needed in connection with executing one of the plurality of query plans, receiving a request for additional metadata corresponding to the query plan for which additional metadata is needed, wherein a parent node is queried for the additional metadata, the parent node comprising a metadata cache, and in the event that the parent node does not comprise the additional metadata, successive ancestor nodes are queried until the additional metadata is found or until all successive ancestor nodes have been queried. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for executing queries in a parallel processing database, comprising a non-transitory computer readable medium and a processor configured to:
-
receive a query at a master node, the master node comprising a database catalog including metadata; derive a plurality of query plans based at least in part on the query; transmit, to a plurality of worker nodes, corresponding ones of the plurality of query plans and associated query metadata, wherein the query metadata includes information used in connection with executing the query plans; and in the event that additional metadata is needed in connection with executing one of the plurality of query plans, receive a request for additional metadata corresponding to the query plan for which additional metadata is needed, wherein a parent node is queried for the additional metadata, the parent node comprising a metadata cache, and in the event that the parent node does not comprise the additional metadata, successive ancestor nodes are queried until the additional metadata is found or until all successive ancestor nodes have been queried. - View Dependent Claims (21, 22, 23, 24, 25, 26)
-
-
27. The system of 20, wherein the parent node checks the metadata cache for the additional metadata.
Specification