Claims Analysis
Total Claims: 24
Claim 1
Independent Claim
123 words
A method for processing count queries in a database system that includes a data container having a plurality of records, the method comprising the steps of: receiving a count query that specifies target data within said data container; determining, without evaluating the target data, whether the target data can possibly include null values; if the target data cannot possibly include null values, then, without evaluating the target data, processing the count query by determining how many records in the data container contain the target data; and if the target data can possibly include null values, then processing the count query by determining how many records in the data container contain non-null values for the target data by reading and evaluating the target data.
Claim 2
Independent Claim
123 words
A method for processing count queries in a database system that includes a data container having a plurality of records, the method comprising the steps of: receiving a count query that specifies target data within said data container; determining, without evaluating the target data, whether the target data can possibly include null values; if the target data cannot possibly include null values, then, without evaluating the target data, processing the count query by determining how many records in the data container contain the target data; and if the target data can possibly include null values, then processing the count query by determining how many records in the data container contain non-null values for the target data by reading and evaluating the target data.
Claim 3
Dependent Claim
35 words
The method of claim 1 further comprising the step of, if the target data cannot possibly include null values, then transforming the count query into a count star query and executing the count star query.
Claim 4
Dependent Claim
133 words
The method of claim 1 wherein, if the target data cannot possibly include null values, then the step of processing said count query includes the steps of: determining whether an index exists that is associated with said data container and that contains identifiers for said plurality of records; if an index exists that is associated with said data container and that contains identifiers for said plurality of records, then determining how many records in the data container contain the target data based on the identifiers stored in said index; and if an index does not exist that is associated with said data container and that contains identifiers for said plurality of records, then determining how many records in the data container contain the target data based on identifiers stored in said data container.
Claim 5
Dependent Claim
69 words
The method of claim 3 wherein: a bitmap index exists that is associated with said data container and that contains identifiers for said plurality of records; and the step of determining how many records in the data container contain the target data based on identifiers stored in said index includes the step of counting how many bits are set in one or more bitmaps contained in said bitmap index.
Claim 6
Dependent Claim
89 words
The method of claim 4 wherein the step of counting how many bits are set in one or more bitmaps comprises the steps of: assigning to each of a plurality of processes a task of counting how many bits are set in a subset of said one or more bitmaps; causing each of said plurality of processes to generate an intermediate count based on said subset of said one or more bitmaps; and summing the intermediate counts generated by said plurality of processes to generate a total count value.
Claim 7
Dependent Claim
106 words
The method of claim 5 wherein: the count query includes a group by clause; the step of causing each of said plurality of processes to generate an intermediate count based on said subset of said one or more bitmaps includes causing each of said plurality of processes to generate a separate intermediate count for each distinct key value associated with said subset of said one or more bitmaps; and the step of summing the intermediate counts includes separately summing the intermediate counts for each of the key values associated with said one or more bitmaps to generate a total count for each of said key values.
Claim 8
Independent Claim
52 words
A method for processing a count query in a database system, the method comprising the steps of: determining that the count query specifies target data that cannot include null values; transforming the count query to a count star query; and executing the count star query without reading and evaluating the target data.
Claim 9
Independent Claim
52 words
A method for processing a count query in a database system, the method comprising the steps of: determining that the count query specifies target data that cannot include null values; transforming the count query to a count star query; and executing the count star query without reading and evaluating the target data.
Claim 10
Dependent Claim
30 words
The method of claim 7 wherein the step of executing the count star query includes the step of determining how many records in a data container contain the target data.
Claim 11
Dependent Claim
64 words
The method of claim 8 wherein: a bitmap index exists that is associated with said data container and that contains identifiers for the records in the data container; and the step of determining how many records in the data container contain the target data includes the step of counting how many bits are set in one or more bitmaps contained in said bitmap index.
Claim 12
Dependent Claim
89 words
The method of claim 9 wherein the step of counting how many bits are set in one or more bitmaps comprises the steps of: assigning to each of a plurality of processes a task of counting how many bits are set in a subset of said one or more bitmaps; causing each of said plurality of processes to generate an intermediate count based on said subset of said one or more bitmaps; and summing the intermediate counts generated by said plurality of processes to generate a total count value.
Claim 13
Dependent Claim
105 words
The method of claim 10 wherein: the count query includes a group by clause; the step of causing each of said plurality of processes to generate an intermediate count based on said subset of said one or more bitmaps includes causing each of said plurality of processes to generate a separate intermediate count for each distinct key value associated with said subset of said one or more bitmaps; and the step of summing the intermediate counts includes separately summing the intermediate counts for each of the key values associated with said one or more bitmaps to generate a total count for each of said key/values.
Claim 14
Dependent Claim
41 words
The method of claim 7 wherein the step of executing the count star query without reading and evaluating the target data includes the step of counting record identifiers from an index associated with a data container that contains the target data.
Claim 15
Dependent Claim
54 words
The method of claim 7 wherein the step of executing the count star query without reading and evaluating the target data includes the step of counting how many bits are set to a particular value in one or more bitmaps in a bitmap index associated with a data container that contains the target data.
Claim 16
Dependent Claim
89 words
The method of claim 13 wherein the step of counting how many bits are set to a particular value in one or more bitmaps includes the steps of: assigning said one or more bitmaps to a plurality of processes, wherein each of said plurality of processes is assigned a subset of said one or more bitmaps; causing each process of said plurality of processes to generate an intermediate value based on a subset of said one or more bitmaps; and summing intermediate values generated by said plurality of processes.
Claim 17
Independent Claim
70 words
A method for processing a count star query in a database system, the method comprising the steps of: identifying a bitmap index associated with a data container, said data container containing target data specified in said count star query; and counting how many bits are set to a particular value in one or more bitmaps in said bitmap index without generating record identifiers based on said one or more bitmaps.
Claim 18
Independent Claim
70 words
A method for processing a count star query in a database system, the method comprising the steps of: identifying a bitmap index associated with a data container, said data container containing target data specified in said count star query; and counting how many bits are set to a particular value in one or more bitmaps in said bitmap index without generating record identifiers based on said one or more bitmaps.
Claim 19
Dependent Claim
84 words
The method of claim 15 wherein the step of counting how many bits are set to a particular value includes the steps of: assigning said one or more bitmaps to a plurality of processes, wherein each of said plurality of processes is assigned a subset of said one or more bitmaps; causing each process of said plurality of processes to generate an intermediate value based on a subset of said one or more bitmaps; and summing intermediate values generated by said plurality of processes.
Claim 20
Dependent Claim
115 words
The method of claim 15 wherein: the count star query includes a group by clause; the step of counting how many bits are set to a particular value includes the steps of: assigning said one or more bitmaps to a plurality of processes, wherein each of said plurality of processes is assigned a subset of said one or more bitmaps; causing each process of said plurality of processes to generate one intermediate value for each distinct key value in said subset of said one or more bitmaps; and summing the intermediate values for each distinct key value to produce a single count value for each distinct key value associated with said one or more bitmaps.
Claim 21
Dependent Claim
146 words
A computer-readable medium having stored thereon sequences of instructions for processing count queries in a database system that includes a data container having a plurality of records, the sequences of instructions including sequences of instructions which, when executed by a processor, cause said processor to perform the steps of: receiving a count query that specifies target data within said data container; determining, without evaluating the target data, whether the target data can possibly include null values; if the target data cannot possibly include null values, then, without evaluating the target data, processing the count query by determining how many records in the data container contain the target data; and if the target data can possibly include null values, then processing the count query by determining how many records in the data container contain non-null values for the target data by reading and evaluating the target data.
Claim 22
Dependent Claim
146 words
A computer-readable medium having stored thereon sequences of instructions for processing count queries in a database system that includes a data container having a plurality of records, the sequences of instructions including sequences of instructions which, when executed by a processor, cause said processor to perform the steps of: receiving a count query that specifies target data within said data container; determining, without evaluating the target data, whether the target data can possibly include null values; if the target data cannot possibly include null values, then, without evaluating the target data, processing the count query by determining how many records in the data container contain the target data; and if the target data can possibly include null values, then processing the count query by determining how many records in the data container contain non-null values for the target data by reading and evaluating the target data.
Claim 23
Dependent Claim
41 words
The computer-readable medium of claim 18 further comprising sequences of instructions form performing the step of, if the target data cannot possibly include null values, then transforming the count query into a count star query and executing the count star query.
Claim 24
Dependent Claim
134 words
The computer-readable medium of claim 18 wherein, if the target data cannot possibly include null values, then the step of processing said count query includes the steps of: determining whether an index exists that is associated with said data container and that contains identifiers for said plurality of records; if an index exists that is associated with said data container and that contains identifiers for said plurality of records, then determining how many records in the data container contain the target data based on the identifiers stored in said index; and if an index does not exist that is associated with said data container and that contains identifiers for said plurality of records, then determining how many records in the data container contain the target data based on identifiers stored in said data container.