DATA ALLOCATION CONTAINERS IN A PARTITIONED TABLE OF A COMPUTER DATABASE SYSTEM FOR HOLDING DATA BASED ON USAGE
First Claim
1. A method for allocating data into data allocation containers in a partitioned table of a database, the method comprising the steps of:
- receiving a query to the partitioned table of the database;
selecting at least one row of data in the partitioned table specified by the query;
recording appropriate data regarding the usage of the row of data in the partitioned table by the query to use in allocation of the row of data into a plurality of DACs in the partitioned table; and
at an appropriate time interval moving the row of data accessed by the query from a current DAC to a different DAC in the partitioned table based on the recorded data regarding the usage of the row of data by the query.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method utilize partitioned database tables divided into data allocation containers (DACs) where data is placed into the DACs based on usage of the data in past queries. Records that are used most often are placed together and records that are used less often are placed together to improve database performance. In preferred embodiments, a database manager determines where to place data into the DACs based on how often the data is selected by a database query using a DAC selection ratio (DSR). The database manager may determine when to perform table maintenance to move rows of data to the appropriate DACs based on a timestamp or last check date (LCD) stored in the database.
18 Citations
8 Claims
-
1. A method for allocating data into data allocation containers in a partitioned table of a database, the method comprising the steps of:
-
receiving a query to the partitioned table of the database; selecting at least one row of data in the partitioned table specified by the query; recording appropriate data regarding the usage of the row of data in the partitioned table by the query to use in allocation of the row of data into a plurality of DACs in the partitioned table; and at an appropriate time interval moving the row of data accessed by the query from a current DAC to a different DAC in the partitioned table based on the recorded data regarding the usage of the row of data by the query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification