×

Multi-range and runtime pruning

  • US 10,545,917 B2
  • Filed: 10/13/2015
  • Issued: 01/28/2020
  • Est. Priority Date: 02/19/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • storing a plurality of metadata items in a metadata store that is separate from a storage platform that stores a plurality of files, each file of the plurality of files comprising a block of database data;

    determining a join operation to be performed on two or more files of the plurality of files, the join operation comprising a predicate indicating a first value;

    scanning the plurality of metadata items without accessing the database data to identify the two or more files that are necessary to complete the join operation, wherein;

    each metadata item corresponds to and comprises information about a file of the plurality of files; and

    each metadata item indicates a minimum/maximum value range for its corresponding file;

    identifying, from the plurality of metadata items, a first group of files whose minimum/maximum value ranges do not encompass the first value;

    pruning the first group of files;

    consuming, by a build operator of the join operation, database data in at least one file of the two or more files that are necessary to complete the join operation;

    generating a vector summarizing the database data consumed by the build operator;

    broadcasting the vector to at least one probe operator of the join operation; and

    filtering rows from the one or more files that are necessary to complete the join operation based on the vector.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×