Optimizing database table scans in the presence of ordered data
AssigneeInternational Business Machines Corporation
InventorsSunil Sarin, Ronen Grosman, Adam J. Storm
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsSunil Sarin, Ronen Grosman, Adam J. Storm
Estimating the term…
Optimizing database table scans in presence of SMDO records is provided. An SMDO record corresponding to a most recent span of rows for a column associated with a query predicate is read. It is determined whether a condition for excluding a span of rows is true for the SMDO record based on a type of the query predicate. In response to determining that a condition for excluding a span of rows is not true for the SMDO record, the most recent span of rows is added to a list of spans of rows to scan. It is determined whether a condition for excluding all preceding spans of rows is true for the SMDO record based on the type of the query predicate. In response to determining that a condition for excluding all preceding spans of rows is true for the SMDO record, reading the set of SMDO records is stopped.
A computer-implemented method for optimizing database table scans in a presence of a set of Summarizing Meta-Data Object (SMDO) records that store a maximum value, a minimum value, and a Bloom filter associated with each respective span of rows in a table for a column and that store computed values for cumulative maximum, cumulative minimum, and cumulative Bloom filter for the column over all previously generated spans of rows in the table, the computer-implemented method comprising:
A computer system for optimizing database table scans in a presence of a set of Summarizing Meta-Data Object (SMDO) records that store a maximum value, a minimum value, and a Bloom filter associated with each respective span of rows in a table for a column and that store computed values for cumulative maximum, cumulative minimum, and cumulative Bloom filter for the column over all previously generated spans of rows in the table, the computer system comprising:
A computer program product for optimizing database table scans in a presence of a set of Summarizing Meta-Data Object (SMDO) records that store a maximum value, a minimum value, and a Bloom filter associated with each respective span of rows in a table for a column and that store computed values for cumulative maximum, cumulative minimum, and cumulative Bloom filter for the column over all previously generated spans of rows in the table, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
Dependencies are inferred from the claim text.