×

Query processing management in a database management system

  • US 10,565,201 B2
  • Filed: 11/04/2016
  • Issued: 02/18/2020
  • Est. Priority Date: 11/04/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for query processing management in a database management system (DBMS), the method comprising:

  • detecting, by the DBMS, that a query has a set of subqueries;

    detecting, by the DBMS, that the set of subqueries relate to a set of data structures;

    selecting, from the set of data structures, a lead data structure of the set of data structures using a selection criterion;

    identifying, from the lead data structure of the set of data structures, a set of input columns;

    identifying, from the set of data structures other than the lead data structure, a set of output columns;

    constructing, using the set of input columns and the set of output columns, a hash data structure, wherein the hash data structure comprises a plurality of hash values correlated to a plurality of data input columns; and

    performing a join operation with the lead data structure and a second data structure of the set of data structure comprising;

    searching the plurality of hash values for a single hash value matching a second hash value for a second data column of the second data structure; and

    based on not finding a match between the second hash value and the plurality of hash values, performing a join operation between the lead data structure and the second data structure and building a dynamic join result cache comprising a plurality of hash values that using input columns resulting from the join operation of the lead data structure and the second data structure.

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