×

Techniques for improving the performance of complex queries

  • US 10,268,724 B2
  • Filed: 09/30/2013
  • Issued: 04/23/2019
  • Est. Priority Date: 03/15/2013
  • Status: Active Grant
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, wherein determining comprises;

    producing, at the processor, a static plan by using the static plan generation to evaluate costs and conditions of the static plan;

    selecting, at the processor, to process one of the dynamic plan generation for the request and the static plan for the request, and wherein selecting to process the dynamic plan generation comprises processing statistical information from intermediate spools, and wherein no portion of the dynamic plan is generated prior to selection;

    in response to selection of the dynamic plan generation;

    sequentially fragmenting, at the processor, the request into a plurality of request fragments;

    generating, at the processor, a first plan fragment corresponding to a first request fragment from the plurality of request fragments; and

    executing, at the processor, the first plan fragment; and

    for each other request fragment;

    generating, at the processor, a corresponding plan fragment in response to execution of an immediately preceding plan fragment;

    executing, at the processor, the corresponding plan fragment; and

    providing, at the processor, feedback based on execution of the corresponding plan fragment to a remaining portion of the request, wherein execution of a last plan fragment completes the request.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×