Accelerating queries using delayed value projection of enumerated storage
First Claim
Patent Images
1. A computer-implemented method for processing a database query, the method comprising:
- identifying a table, wherein the table comprises information needed in order to resolve the query, and wherein a column in the table is represented using enumeration values and a lookup-table to translate each of the enumeration values into data values for the column; and
evaluating the query, wherein the step of evaluating the query comprises;
executing one or more processing steps, wherein the processing steps comprise operations on the data values;
determining if the enumeration values can be used instead of the data values; and
utilizing the enumeration values instead of the data values in at least one of the one or more processing steps, if it is determined that the enumeration values can be used instead of the data values.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method, and computer program product for processing a database query are presented. Steps for identifying a table needed to resolve the query, creating an enumeration value, determining whether the enumeration value is semantically equivalent to data from a data field in the table, and using a temporary data structure to evaluate the query are disclosed.
-
Citations
11 Claims
-
1. A computer-implemented method for processing a database query, the method comprising:
-
identifying a table, wherein the table comprises information needed in order to resolve the query, and wherein a column in the table is represented using enumeration values and a lookup-table to translate each of the enumeration values into data values for the column; and evaluating the query, wherein the step of evaluating the query comprises; executing one or more processing steps, wherein the processing steps comprise operations on the data values; determining if the enumeration values can be used instead of the data values; and utilizing the enumeration values instead of the data values in at least one of the one or more processing steps, if it is determined that the enumeration values can be used instead of the data values. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product comprising a computer usable medium having computer program logic recorded thereon for enabling a processor to process a database query, the computer program logic comprising:
-
identifying means for enabling a processor to identify a table, wherein the table contains information needed in order to resolve the query, and wherein a column in the table is represented using enumeration values and a lookup-table to translate each of the enumeration values into data values for the column; and evaluating means for enabling a processor to evaluate the query, wherein the evaluating means comprises; executing means for enabling a processor to execute one or more processing steps, wherein the processing steps comprise operations on the original data values; determining means for enabling a processor to determine if the enumeration values can be used instead of the data values; and utilizing means for enabling a processor to utilize the enumeration values instead of the data values in at least one of the one or more processing steps, if it is determined that the enumeration values can be used instead of the original data values. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system capable of processing a database query, comprising:
-
a first module to identify a table, wherein the table contains information needed in order to resolve the query, and wherein a column in the table is represented using enumeration values and a lookup-table to translate each of the enumeration values into data values for the column; and a second module to evaluate the query, wherein the second module comprises; a third module to execute one or more processing steps, wherein the processing steps comprise operations on the data values; a fourth module to determine if the enumeration values can be used instead of the data values; and a fifth module to utilize the enumeration values instead of the data values in at least one of the one or more processing steps, if it is determined that the enumeration values can be used instead of the original data values.
-
Specification