×

SYSTEM, METHOD, AND COMPUTER-READABLE MEDIUM FOR OPTIMIZING PROCESSING OF QUERIES FEATURING MAXIMUM OR MINIMUM EQUALITY CONDITIONS IN A PARALLEL PROCESSING SYSTEM

  • US 20100153429A1
  • Filed: 12/11/2008
  • Published: 06/17/2010
  • Est. Priority Date: 12/11/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method of optimizing processing of a query specifying a maximum equality condition on an attribute of a table in a parallel processing system, comprising:

  • receiving, by a processing module of a plurality of processing modules deployed in the parallel processing system, the query, wherein the processing module has a subset of rows of the table allocated thereto;

    initializing, by the processing module, a variable to maintain a local value of the attribute encountered by the processing module to a value that is less than a value that may be stored by the attribute;

    initializing, by the processing module, a result spool to maintain at least one row of the table having an attribute value that at least equals the variable;

    iteratively evaluating attribute values of the rows allocated to the processing module; and

    determining to add a first row to the result spool responsive to determining the attribute value of the first row equals or exceeds the local value of the variable.

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