EP2901313A2

Pruning disk blocks of a clustered table in a relational database management system

Abstract

This record has no abstract on file.

Term

6.7 yearsto projected expiry

Projected expiry 13 June 2033, counted from filing; an application has no term until it is granted.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

15 claims: 3 independent, 12 dependent

  1. 1
    Claims of equivalent WO 2014051743 A2 CLAIMS What is claimed is:1. A method for pruning disk blocks of a target table in a relational database management system, the method comprising: dividing the disk blocks of the target table into a plurality of zones;maintaining, for each zone of the plurality of zones, a minimum column value and a maximum column value for each of one or more zoned columns of one or more zoned tables;receiving a query on the target table;wherein the query contains a filter predicate on a particular column of the one or more zoned columns;wherein the filter predicate has a predicate value;in response to receiving the query, determining, based on the predicate value and the minimum column values and the maximum column values maintained for the particular column, zero or more zones of the plurality of zones that cannot possibly contain rows of the target table satisfying the filter predicate;and determining, based on the zero or more zones of the plurality of zones that cannot possibly contain rows of the target table satisfying the filter predicate, whether a disk scan of the zero or more zones is necessary;wherein the method is performed by one or more computing devices.
  2. 12
    One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause performance of the method in any one of claims 1-11.
  3. 13
    A relational database management system comprising:means for dividing disk blocks of a target table into a plurality of zones;means for maintaining, for each zone of the plurality of zones, a minimum column value and a maximum column value for each of one or more zoned columns of one or more zoned tables;means for receiving a query on the target table, the query containing a filter predicate on a particular column of the one or more zoned columns, the filter predicate having a predicate value;means, operative in response to receiving the query, for determining, based on the predicate value and the minimum column values and the maximum column values maintained for the particular column, zero or more zones of the plurality of zones that cannot possibly contain rows of the target table satisfying the filter predicate;and means for determining, based on the zero or more zones of the plurality of zones that cannot possibly contain rows of the target table satisfying the filter predicate, whether a disk scan of the zero or more zones is necessary.