Optimization of metadata via lossy compression
First Claim
Patent Images
1. A method for adjusting metadata in tables, the method comprising:
- identifying, by one or more computer processors, at least one of a first minimum value, a first maximum value, and a first Bloom filter value for a row of data in a metadata table, wherein the metadata table contains metadata corresponding to a row of data in a main table;
identifying, by one or more computer processors, at least one of a second minimum value that is a lower value than the first minimum value, a second maximum value that is higher than the first maximum value, and a second Bloom filter value for a row of data in the metadata table, wherein the second values are frequent values in the metadata table; and
adjusting, by one or more computer processors, at least one of the identified first minimum value to the second frequent and lower minimum value in the metadata table, the identified first maximum value to the second frequent and higher maximum value in the metadata table, and the identified first Bloom filter value to the second frequent Bloom filter value in the metadata table, wherein adjusting the metadata table compresses the metadata table.
1 Assignment
0 Petitions
Accused Products
Abstract
The method includes identifying at least one of a minimum value, a maximum value, and a Bloom filter value for a row of data in a metadata table, wherein the metadata table contains metadata corresponding to a row of data in a main table. The method includes adjusting at least one of an identified first minimum value to a second minimum value, an identified first maximum value to a second maximum value, and an identified first Bloom filter value to a second Bloom filter value.
28 Citations
9 Claims
-
1. A method for adjusting metadata in tables, the method comprising:
-
identifying, by one or more computer processors, at least one of a first minimum value, a first maximum value, and a first Bloom filter value for a row of data in a metadata table, wherein the metadata table contains metadata corresponding to a row of data in a main table; identifying, by one or more computer processors, at least one of a second minimum value that is a lower value than the first minimum value, a second maximum value that is higher than the first maximum value, and a second Bloom filter value for a row of data in the metadata table, wherein the second values are frequent values in the metadata table; and adjusting, by one or more computer processors, at least one of the identified first minimum value to the second frequent and lower minimum value in the metadata table, the identified first maximum value to the second frequent and higher maximum value in the metadata table, and the identified first Bloom filter value to the second frequent Bloom filter value in the metadata table, wherein adjusting the metadata table compresses the metadata table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for compressing metadata in tables, the method comprising:
-
identifying, by one or more computer processors, at least one of a minimum value, a maximum value, and a Bloom filter value for a row of data in a metadata table, wherein the metadata table contains metadata corresponding to a row of data in a main table; generating, by one or more computer processors, an in-memory structure, wherein the in-memory structure corresponds to a column of data in the main table and corresponding metadata from the metadata table, and wherein the in-memory structure monitors at least one of a number of times a predicate is used, a type of predicate used, and a frequency of use of the metadata table for a predicate in the corresponding main table; identifying, by one or more computer processors, at least one of a second minimum value that is a lower value than the first minimum value, a second maximum value that is higher than the first maximum value, and a second Bloom filter value for a row of data in the metadata table, wherein the second values are frequent values in the metadata table; and adjusting, by one or more computer processors, at least one of the identified first minimum value to the second frequent and lower minimum value in the metadata table, the identified first maximum value to the second frequent and higher maximum value in the metadata table, and the identified first Bloom filter value to the second frequent Bloom filter value in the metadata table, wherein adjusting the metadata table compresses the metadata table.
-
Specification