Method of managing slowly changing dimensions
First Claim
1. A method of managing a slowly changing dimension of a dimensional database, said dimensional database comprising at least one dimension table, said dimension having at least one attribute, said dimension table containing dimensional records, each record comprising values of a key and of the attributes of the dimension, said method comprising the steps of:
- a. providing a dimension template, said dimension template assigning a behavior to each attribute of the dimension;
b. providing a dimension update record for the dimension table;
c. adding the update record to the dimension table if no record matching the value of the key of the update record is found in the dimension table;
or d. rejecting the update record if a record matching the value of the key and all attributes of the update record is found in the dimension table;
or e. updating the dimension table using the values of attributes of the update record if a record matching the value of the key but not all attributes of the update record is found in the dimension table, wherein the dimension table is updated in accordance with the behavior assigned to the attributes of the dimension in the dimension template.
4 Assignments
0 Petitions
Accused Products
Abstract
A method of managing slowly changing dimensions in a dimensional database, such as a dimensional data mart, is disclosed. The method consists of providing a dimension template for each dimension undergoing slow changes, which template assigns a behavior to each column of the dimension table. When a row of dimensional data is to be delivered to the dimension table, the table is searched for a record having the key value of the row of data to be delivered. If such a record exists and if any attributes of the row to be delivered have their values changed compared with the existing record, the table is updated according to the behavior type assigned to these attributes in the dimension template, either by overwriting the existing record with the record to be delivered or by creating a new record or records.
-
Citations
16 Claims
-
1. A method of managing a slowly changing dimension of a dimensional database, said dimensional database comprising at least one dimension table, said dimension having at least one attribute, said dimension table containing dimensional records, each record comprising values of a key and of the attributes of the dimension, said method comprising the steps of:
-
a. providing a dimension template, said dimension template assigning a behavior to each attribute of the dimension;
b. providing a dimension update record for the dimension table;
c. adding the update record to the dimension table if no record matching the value of the key of the update record is found in the dimension table;
ord. rejecting the update record if a record matching the value of the key and all attributes of the update record is found in the dimension table;
ore. updating the dimension table using the values of attributes of the update record if a record matching the value of the key but not all attributes of the update record is found in the dimension table, wherein the dimension table is updated in accordance with the behavior assigned to the attributes of the dimension in the dimension template. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An apparatus for managing a slowly changing dimension of a dimensional database, said dimensional database comprising at least one dimension table, said dimension having at least one attribute, said dimension table containing dimensional records, each record comprising values of a key and of the attributes of the dimension, said apparatus comprising:
-
a. means for providing a dimension template, said dimension template assigning a behavior to each attribute of the dimension;
b. means for providing a dimension update record for the dimension table;
c. means for adding the update record to the dimension table if no record matching the value of the key of the update record is found in the dimension table;
ord. means for rejecting the update record if a record matching the value of the key and all attributes of the update record is found in the dimension table;
ore. means for updating the dimension table using the values of attributes of the update record if a record matching the value of the key but not all attributes of the update record is found in the dimension table, wherein the dimension table is updated in accordance with the behavior assigned to the attributes of the dimension in the dimension template.
-
-
16. Computer executable software code stored on a computer readable medium, the code for managing a slowly changing dimension of a dimensional database, said dimensional database comprising at least one dimension table, said dimension having at least one attribute, said dimension table containing dimensional records, each record comprising values of a key and of the attributes of the dimension, said code comprising:
-
a. code for providing a dimension template, said dimension template assigning a behavior to each attribute of the dimension;
b. code for providing a dimension update record for the dimension table;
c. code for adding the update record to the dimension table if no record matching the value of the key of the update record is found in the dimension table;
ord. code for rejecting the update record if a record matching the value of the key and all attributes of the update record is found in the dimension table;
ore. code for updating the dimension table using the values of attributes of the update record if a record matching the value of the key but not all attributes of the update record is found in the dimension table, wherein the dimension table is updated in accordance with the behavior assigned to the attributes of the dimension in the dimension template.
-
Specification