Progressive refinement of a federated query plan during query execution
First Claim
1. A computer program product comprising a computer usable medium including computer usable program code for progressively refining a federated query execution plan in a federated data system, the computer program product comprising:
- computer usable program code for executing a federated query according to a federated query execution plan; and
computer usable program code for refining the federated query execution plan during execution of the federated query.
1 Assignment
0 Petitions
Accused Products
Abstract
A way for progressively refining a query execution plan during query execution in a federated data system is provided. Re-optimization constraints are placed in the query execution plan during query compilation. When a re-optimization constraint is violated during query execution, a model of the query execution plan is refined using a partially executed query to form a new query execution plan. The new query execution plan is compiled. The compiled new query execution plan is executed.
68 Citations
30 Claims
-
1. A computer program product comprising a computer usable medium including computer usable program code for progressively refining a federated query execution plan in a federated data system, the computer program product comprising:
-
computer usable program code for executing a federated query according to a federated query execution plan; and
computer usable program code for refining the federated query execution plan during execution of the federated query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product comprising a computer usable medium including computer usable program code for progressively refining a query execution plan in a data system, the computer program product comprising:
-
computer usable program code for placing at least one re-optimization constraint in the query execution plan during compilation of the query;
computer usable program code responsive to the at least one re-optimization constraint being violated during execution of the query execution plan, for optimizing the query execution plan by refining a model of the query execution plan using a partially executed query execution plan;
computer usable program code for recompiling the query;
computer usable program code for re-executing the query execution plan; and
computer usable program code for repeating the placing, optimizing, recompiling, and re-executing steps until a query result is achieved. - View Dependent Claims (14, 15)
-
-
16. A computer implemented method for progressively refining a federated query execution plan in a federated data system, the computer implemented method comprising:
-
executing a federated query according to a federated query execution plan; and
refining the federated query execution plan during execution of the federated query. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30)
-
-
28. A computer implemented method for progressively refining a query execution plan in a data system, the computer implemented method comprising:
-
placing at least one re-optimization constraint in the query execution plan during compilation of the federated query;
responsive to the at least one re-optimization constraint being violated during execution of the query execution plan, optimizing the query execution plan by refining a model of the query execution plan using a partially executed federated query execution plan;
recompiling the query;
re-executing the query execution plan; and
repeating the placing, optimizing, recompiling, and re-executing steps until a query result is achieved.
-
Specification