TECHNIQUES FOR IMPROVING THE PERFORMANCE OF COMPLEX QUERIES
First Claim
Patent Images
1. A method implemented and programmed within a non-transitory computer-readable storage medium and processed by a processor, the processor configured to execute the method, comprising:
- determining, at the processor, whether to execute a request via a static plan generation or a dynamic plan generation;
sequentially fragmenting, at the processor, the request into request fragments when the dynamic plan generation is selected; and
providing, at the processor, plan fragments for each request fragment to execute the request.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for improving complex database queries are provided. A determination is made whether to adopt a static or dynamic query execution plan based on metrics. When the dynamic query execution plan is used, a request fragment of the request is planned and the corresponding plan fragment is executed. The processed fragment provides feedback related to its processing to the remaining request and the process is repeated on the remaining request until the request is completed.
27 Citations
22 Claims
-
1. A method implemented and programmed within a non-transitory computer-readable storage medium and processed by a processor, the processor configured to execute the method, comprising:
-
determining, at the processor, whether to execute a request via a static plan generation or a dynamic plan generation; sequentially fragmenting, at the processor, the request into request fragments when the dynamic plan generation is selected; and providing, at the processor, plan fragments for each request fragment to execute the request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method implemented and programmed within a non-transitory computer-readable storage medium and processed by a processor, the processor configured to execute the method, comprising:
-
evaluating, at the processor, a query to produce a dynamic query plan for a query optimizer; iterating, at the processor, the query to produce a plurality of request fragments, generating a plan fragment for each request fragment; and sequentially passing, at the processor, feedback details from executing each plan fragment to the remaining request. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 22)
-
-
21. A system, comprising:
-
memory configured with a query plan selector that processes on a processor of a network; and the memory configured with a dynamic query plan manager that processes on the processor of the network; wherein the query plan selector is configured to generate a static plan for a request and make a determination as to whether to use the static plan with the request or to generate and to use a dynamic plan for the request, and wherein the dynamic query plan manager is configured to process components of the request and sequentially generate request fragments and their corresponding plan fragments, wherein the execution of each plan fragment provides feedback to the remaining request.
-
Specification