Compressing data stored in an intermediate or result table of a database
First Claim
Patent Images
1. A method for use in a database system, comprising:
- performing value list compression, using a first value list, of a column of a first table based on frequently occurring values of the column, wherein the first value list contains the frequently occurring values, wherein performing compression of the column of the first table causes encoded values to be stored in the first table instead of data values of the column of the first table;
inserting data into a second table as a result of a database operation involving the first table;
performing value list compression, using a second value list, of a column of the second table by inheriting the frequently occurring values of the column of the first table, wherein the second value list contains at least a subset of the first value list, wherein performing compression of the column of the second table causes encoded values to be stored in the second table instead of data values of the column of the second table, wherein the database operation specifies one or more conditions to apply to the column of the first table; and
generating the second value list from the first value list based on the one or more conditions to apply to the column of the first table.
2 Assignments
0 Petitions
Accused Products
Abstract
A database system receives a transaction specifying one or more conditions to apply to a first table, and inserts data selected in the transaction into a second. The database system further generates a value list used for compressing a column of the second table, where generating the value list comprises one of inheriting entries of the value list from another value list associated with the first table, and deriving the value list based on the one or more conditions to apply on the first table.
-
Citations
19 Claims
-
1. A method for use in a database system, comprising:
-
performing value list compression, using a first value list, of a column of a first table based on frequently occurring values of the column, wherein the first value list contains the frequently occurring values, wherein performing compression of the column of the first table causes encoded values to be stored in the first table instead of data values of the column of the first table; inserting data into a second table as a result of a database operation involving the first table; performing value list compression, using a second value list, of a column of the second table by inheriting the frequently occurring values of the column of the first table, wherein the second value list contains at least a subset of the first value list, wherein performing compression of the column of the second table causes encoded values to be stored in the second table instead of data values of the column of the second table, wherein the database operation specifies one or more conditions to apply to the column of the first table; and generating the second value list from the first value list based on the one or more conditions to apply to the column of the first table. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An article comprising at least one storage medium containing instructions that when executed cause a database system to:
-
perform compression, using a first value list, of a column of a first table based on frequently occurring values of the column of the first table, wherein the first value list contains the frequently occurring values, wherein performing compression of the first table causes encoded values to be stored in the first table instead of data values of the column of the first table; insert data into a second table as a result of a database operation involving the first table; perform compression, using a second value list, of a column of the second table, based on inheritance of the frequently occurring values of the column of the first table, wherein the second value list contains at least a subset of the first value list, wherein performing compression of the second table causes encoded values to be stored in the second table instead of data values of the column of the second table, wherein the database operation specifies one or more conditions to apply to the column of the first table; and generate the second value list from the first value list based on the one or more conditions to apply to the column of the first table. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A database system comprising:
-
storage to store a first table and a second table; and a controller to; perform compression of a column of the first table using first specifications, wherein performing compression of the column of the first table causes encoded values to be stored in the first table instead of data values of the column of the first table; receive a transaction specifying one or more conditions to apply on the first table; insert data into the second table as a result of the transaction involving the first table; perform compression of the second table using second compression specifications derived based on the one or more conditions specified in the transaction, wherein the compression comprises value list compression of a column of the second table that is based on a value list containing values of the column of the second table, wherein the second compression specifications comprise the value list, wherein the one or more conditions comprise a predicate enumeration that includes an enumerated list of column values, and where the value list comprises the enumerated list of values.
-
-
16. A database system comprising:
-
storage to store a first table and a second table; and a controller to; perform compression of a column of the first table using first specifications, wherein performing compression of the column of the first table causes encoded values to be stored in the first table instead of data values of the colunn of the first table; receive a transaction specifying one or more conditions to apply on the first table; insert data into the second table as a result of the transaction involving the first table; perform compression of the second table using second compression specifications derived based on the one or more conditions specified in the transaction, wherein the compression comprises value list compression of a column of the second table that is based on a value list containing values of the column of the second table, wherein the second compression specifications comprise the value list, wherein the one or more conditions comprise a predicate range condition, and wherein the controller is adapted to generate an enumerated list of column values from the predicate range condition, the value list comprising the enumerated list.
-
-
17. A database system comprising:
-
storage to store a first table and a second table; and a controller to; perform compression of a column of the first table using first specifications, wherein performing compression of the column of the first table causes encoded values to be stored in the first table instead of data values of the column of the first table; receive a transaction specifying one or more conditions to apply on the first table; insert data into the second table as a result of the transaction involving the first table; perform compression of the second table using second compression specifications derived based on the one or more conditions specified in the transaction, wherein the compression comprises value list compression of a column of the second table that is based on a value list containing values of the column of the second table, wherein the second compression specifications comprise the value list, wherein the one or more conditions comprise a predicate expression, and wherein the controller is adapted to generate an enumerated list of column values based on the predicate expression, the value list comprising the enumerated list. - View Dependent Claims (18, 19)
-
Specification