×

PRUNING DISK BLOCKS OF A CLUSTERED TABLE IN A RELATIONAL DATABASE MANAGEMENT SYSTEM

  • US 20140095520A1
  • Filed: 09/28/2012
  • Published: 04/03/2014
  • Est. Priority Date: 09/28/2012
  • Status: Active Grant
First Claim
Patent Images

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;

    wherein at least one of the one or more zoned tables is not the target table;

    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 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.

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