Value-instance-connectivity computer-implemented database
First Claim
1. A system for storing a first plurality of tuples, each tuple comprising at least a first attribute having a first attribute value and a second attribute having a second attribute value, and a second plurality of tuples, each tuple comprising at least a first attribute, that is the same as the first attribute of the first plurality of tuples, having a first attribute value and a second attribute, different than the second attribute of the first plurality of tuples, having a second attribute value, the system comprising:
- a value store storing the first attribute values for each of the first and second plurality of tuples;
a first instance store identifying instances of the first attribute value associated with each tuple in the first plurality of tuples;
a second instance store identifying instances of the first attribute value associated with each tuple in the second plurality of tuples;
a first cardinality store storing information representing frequencies of occurrence of instances of equal value of the first attribute in the first plurality of tuples, wherein a particular value in the value store associated with a particular instance in the first instance store can be derived using the first cardinality store; and
a second cardinality store storing information representing frequencies of occurrence of instances of equal value of the first attribute in the second plurality of tuples, wherein a particular value in the value store associated with a particular instance in the second instance store can be derived using the second cardinality store.
0 Assignments
0 Petitions
Accused Products
Abstract
A computer-implemented database and method providing an efficient, ordered reduced space representation of multi-dimensional data. The data values for each attribute are stored in a manner that provides an advantage in, for example, space usage and/or speed of access, such as in condensed form and/or sort order. Instances of each data value for an attribute are identified by instance elements, each of which is associated with one data value. Connectivity information is provided for each instance element that uniquely associates each instance element with a specific instance of a data value for another attribute. Low cardinality fields may be combined into a single field having values representing the various combinations of the original fields. In one embodiment, the “combined field” contains only instantiated combinations. In another embodiment, the combined field contains all values in the Cartesian product of the original fields, preferably in nested sort order. In yet another embodiment, the original fields are padded with dummy values so that their cardinalities are a power of two, causing each subfield in the combined field to fall on a bit boundary. In still another embodiment, containerization techniques are used to reduce the space required for representing the complete set of all possible values in the Cartesian product of the original fields.
-
Citations
4 Claims
-
1. A system for storing a first plurality of tuples, each tuple comprising at least a first attribute having a first attribute value and a second attribute having a second attribute value, and a second plurality of tuples, each tuple comprising at least a first attribute, that is the same as the first attribute of the first plurality of tuples, having a first attribute value and a second attribute, different than the second attribute of the first plurality of tuples, having a second attribute value, the system comprising:
-
a value store storing the first attribute values for each of the first and second plurality of tuples; a first instance store identifying instances of the first attribute value associated with each tuple in the first plurality of tuples; a second instance store identifying instances of the first attribute value associated with each tuple in the second plurality of tuples; a first cardinality store storing information representing frequencies of occurrence of instances of equal value of the first attribute in the first plurality of tuples, wherein a particular value in the value store associated with a particular instance in the first instance store can be derived using the first cardinality store; and a second cardinality store storing information representing frequencies of occurrence of instances of equal value of the first attribute in the second plurality of tuples, wherein a particular value in the value store associated with a particular instance in the second instance store can be derived using the second cardinality store. - View Dependent Claims (2)
-
-
3. A method for storing a first plurality of tuples, each tuple comprising at least a first attribute having a first attribute value and a second attribute having a second attribute value, and a second plurality of tuples, each tuple comprising at least a first attribute, that is the same as the first attribute of the first plurality of tuples, having a first attribute value and a second attribute, different than the second attribute of the first plurality of tuples, having a second attribute value, the method comprising the steps of:
-
storing in a value store the first attribute values for each of the first and second plurality of tuples; storing in a first instance store information identifying instances of the first attribute value associated with each tuple in the first plurality of tuples; storing in a second instance store information identifying instances of the first attribute value associated with each tuple in the second plurality of tuples; storing in a first cardinality store information representing frequencies of occurrence of instances of equal value of the first attribute in the first plurality of tuples, wherein a particular value in the value store associated with a particular instance in the first instance store can be derived using the first cardinality store; and storing in a second cardinality store information representing frequencies of occurrence of instances of equal value of the first attribute in the second plurality of tuples, wherein a particular value in the value store associated with a particular instance in the second instance store can be derived using the second cardinality store. - View Dependent Claims (4)
-
Specification