Mechanism for synchronizing OLAP system structure and OLTP system structure
First Claim
Patent Images
1. A system for synchronizing a two-dimensional database and a multidimensional database, the system comprising:
- a metadata repository configured to store structure metadata, the structure metadata defining one or more structures for storing data in a two-dimensional database and a multidimensional database having more than two dimensions;
a processing unit comprising one or more processors; and
a computer-readable non-transitory storage medium storing a plurality of instructions which, when executed by the processing unit, causes the processing unit to synchronize the two-dimensional database and the multidimensional database by;
receiving a first request to store new data within a two-dimensional database;
posting the new data into a first cell in the two-dimensional database;
in response to the posting of the new data into the first cell in the two-dimensional database, retrieving one or more records from the structure metadata of the metadata repositorydetermining, based on the records retrieved from the structure metadata, that the first cell in the two-dimensional database is mapped to a first dimension member within in the multidimensional database;
attempting to store the new data at the first dimension member within the multidimensional database;
determining that no structure is implemented within the multidimensional database at the first dimension member; and
in response to determining that no structure is implemented within the multidimensional database corresponding to the first dimension member;
(a) accessing the metadata repository to retrieve structural characteristics of the first dimension member;
(b) creating structure within the multidimensional database corresponding to the first dimension member, using the structural characteristics of the first dimension member retrieved from the metadata repository; and
(c) storing the new data in the created structure within the multidimensional database corresponding to the first dimension member.
2 Assignments
0 Petitions
Accused Products
Abstract
In an embodiment, for any structural change that is made to a relational database, a corresponding change is also made to the multidimensional database. In an embodiment, the system determines that a particular structure is not implemented on the multidimensional database system. Based on metadata that defines the structure that is supposed to exist in the multidimensional database, the appropriate structure is created.
30 Citations
17 Claims
-
1. A system for synchronizing a two-dimensional database and a multidimensional database, the system comprising:
-
a metadata repository configured to store structure metadata, the structure metadata defining one or more structures for storing data in a two-dimensional database and a multidimensional database having more than two dimensions; a processing unit comprising one or more processors; and a computer-readable non-transitory storage medium storing a plurality of instructions which, when executed by the processing unit, causes the processing unit to synchronize the two-dimensional database and the multidimensional database by; receiving a first request to store new data within a two-dimensional database; posting the new data into a first cell in the two-dimensional database; in response to the posting of the new data into the first cell in the two-dimensional database, retrieving one or more records from the structure metadata of the metadata repository determining, based on the records retrieved from the structure metadata, that the first cell in the two-dimensional database is mapped to a first dimension member within in the multidimensional database; attempting to store the new data at the first dimension member within the multidimensional database; determining that no structure is implemented within the multidimensional database at the first dimension member; and in response to determining that no structure is implemented within the multidimensional database corresponding to the first dimension member; (a) accessing the metadata repository to retrieve structural characteristics of the first dimension member; (b) creating structure within the multidimensional database corresponding to the first dimension member, using the structural characteristics of the first dimension member retrieved from the metadata repository; and (c) storing the new data in the created structure within the multidimensional database corresponding to the first dimension member. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of synchronizing a two-dimensional database and a multidimensional database, the method comprising
receiving, by a database server, a first request to store new data within a two-dimensional database; -
posting, by the database server, the new data into a first cell in the two-dimensional database; in response to the posting of the new data into the first cell in the two-dimensional database, retrieving one or more structure metadata records from a metadata repository; determining, based on the structure metadata records, that the first cell in the two-dimensional database is mapped to a first dimension member within the multidimensional database; attempting, by the database server, to store the new data at the first dimension member within the multidimensional database; determining, by the database server, that no structure is implemented within the multidimensional database at the first dimension member; and in response to determining that no structure is implemented within the multidimensional database corresponding to the first dimension member; (a) accessing the metadata repository to retrieve structural characteristics of the first dimension member; (b) creating structure within the multidimensional database corresponding to the first dimension member, using the structural characteristics of the first dimension member retrieved from the metadata repository; and (c) storing the new data in the created structure within the multidimensional database corresponding to the first dimension member. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable memory comprising a set of instructions stored therein which, when executed by a processor, causes the processor to synchronize a two-dimensional database and a multidimensional database by:
-
receiving a first request to store new data within a two-dimensional database; posting the new data has into a first cell in a two-dimensional database; in response to the posting of the new data has been posted into the first cell in the two-dimensional database, retrieving one or more structure metadata records from a metadata repository; determining, based on the structure metadata records, that the first cell in the two-dimensional database is mapped to a first dimension member within in the multidimensional database; attempting to store the new data at the first dimension member within the multidimensional database; determining that no structure is implemented within the multidimensional database at the first dimension member; and in response to determining that no structure is implemented within the multidimensional database corresponding to the first dimension member; (a) accessing the metadata repository to retrieve structural characteristics of the first dimension member; (b) creating structure within the multidimensional database corresponding to the first dimension member, using the structural characteristics of the first dimension member retrieved from the metadata repository; and (c) storing the new data in the created structure within the multidimensional database corresponding to the first dimension member. - View Dependent Claims (16, 17)
-
Specification