Method for Two-Stage Query Optimization in Massively Parallel Processing Database Clusters
First Claim
Patent Images
1. A method for processing queries in a massively parallel processing (MPP) database, the method comprising:
- receiving, by an MPP data node, a global execution plan and a semantic tree from an MPP coordinator;
generating, by the MPP data node, a local execution plan in accordance with the semantic tree; and
selecting either the global execution plan or the local execution plan for execution by the MPP data node.
1 Assignment
0 Petitions
Accused Products
Abstract
Queries may be processed more efficiently in an massively parallel processing (MPP) database by locally optimizing the global execution plan. The global execution plan and a semantic tree may be provided to MPP data nodes by an MPP coordinator. The MPP data nodes may then use the global execution plan and the semantic tree to generate a local execution plan. Thereafter, the MPP data nodes may select either the global execution plan or the local execution plan is accordance with a cost evaluation.
179 Citations
20 Claims
-
1. A method for processing queries in a massively parallel processing (MPP) database, the method comprising:
-
receiving, by an MPP data node, a global execution plan and a semantic tree from an MPP coordinator; generating, by the MPP data node, a local execution plan in accordance with the semantic tree; and selecting either the global execution plan or the local execution plan for execution by the MPP data node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A massively parallel processing (MPP) data node in an MPP database, the MPP data node comprising:
-
a processor; and a computer readable storage medium storing programming for execution by the processor, the programming including instructions to; receive a global execution plan and a semantic tree from an MPP coordinator; generate a local execution plan in accordance with the semantic tree; and select either the global execution plan or the local execution plan for execution by the MPP data node. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A massively parallel processing (MPP) database system comprising:
-
one or more MPP coordinators configured to;
receive a query from a client;
generate a semantic tree;
develop a global execution plan for executing the query in accordance with the semantic tree; and
distribute the global execution plan to a plurality of MPP data nodes; anda first one of the plurality of MPP data nodes configured to;
receive the global execution plan and the semantic tree from the one or more MPP coordinators;
obtain an optimized execution plan by optimizing the global execution plan using the semantic tree in accordance with local configuration information of the first MPP data node; and
execute the optimized execution plan. - View Dependent Claims (20)
-
Specification