Claims Analysis
Total Claims: 12
Claim 1
Independent Claim
97 words
A method for estimating the number of pages to be accessed when records of a data processing system are scanned in a selected sequence other than the sequence in which they were stored, comprising the steps of: (a) calculating a degree of clustering which is proportional to the number of records which when in the selected sequence are in a sequence which is the same as the sequence in which they are stored on the data pages; and (b) estimating the number of pages to be accessed based on the degree of clustering calculated in step (a).
Claim 2
Independent Claim
97 words
A method for estimating the number of pages to be accessed when records of a data processing system are scanned in a selected sequence other than the sequence in which they were stored, comprising the steps of: (a) calculating a degree of clustering which is proportional to the number of records which when in the selected sequence are in a sequence which is the same as the sequence in which they are stored on the data pages; and (b) estimating the number of pages to be accessed based on the degree of clustering calculated in step (a).
Claim 3
Dependent Claim
27 words
The method of claim 1, wherein the data processing system is a relational data base management system, and wherein the selected sequence is determined by an index.
Claim 4
Dependent Claim
63 words
The method of claim 2, wherein the step (a) of calculating degree of clustering comprises the steps of: (a1) performing an index scan; (a2) counting the number of rows stored on the same data page as their respective preceeding rows during the index scan; and (a3) dividing the number of rows from step (a2) by the total number of rows in the table.
Claim 5
Dependent Claim
32 words
The method of claim 1, wherein the degree of clustering is multiplied by a factor greater than 1, and wherein the degree of clustering is limited to a maximum value of 1.
Claim 6
Independent Claim
133 words
A method for selecting an indexed access path through a table of a relational data base management system, the table including rows stored on data pages, comprising the steps of: (a) calculating a degree of clustering for an index of the table, the degree of clustering being proportional to the number of rows which when in index order are in the same sequence as that in which they are stored on the data pages; (b) estimating a number of pages to be accessed, the estimate being based on the degree of clustering calculated in step (a); (c) estimating an access time for the index scan, the access time being based on the estimated page accesses of step (b); and (d) selecting an index access path based on the time estimated in step (c).
Claim 7
Independent Claim
133 words
A method for selecting an indexed access path through a table of a relational data base management system, the table including rows stored on data pages, comprising the steps of: (a) calculating a degree of clustering for an index of the table, the degree of clustering being proportional to the number of rows which when in index order are in the same sequence as that in which they are stored on the data pages; (b) estimating a number of pages to be accessed, the estimate being based on the degree of clustering calculated in step (a); (c) estimating an access time for the index scan, the access time being based on the estimated page accesses of step (b); and (d) selecting an index access path based on the time estimated in step (c).
Claim 8
Dependent Claim
63 words
The method of claim 5, wherein the step (a) of calculating degree of clustering comprises the steps of: (a1) performing an index scan; (a2) counting the number of rows stored on the same data page as their respective preceeding rows during the index scan; and (a3) dividing the number of rows from step (a2) by the total number of rows in the table.
Claim 9
Dependent Claim
28 words
The method of claim 5, wherein the access path is selected from two or more indexes, and wherein steps (a) through (c) are repeated for each such index.
Claim 10
Dependent Claim
23 words
The method of claim 5, wherein the number of page accesses calculated in step (b) is proportional to the selectivity of the index.
Claim 11
Dependent Claim
22 words
The method of claim 5, wherein the number of page accesses calculated in step (b) includes the number of index pages accessed.
Claim 12
Dependent Claim
21 words
The method of claim 9, wherein the number of pages accessed is based on the number of levels of the index.