Method and apparatus for accessing multidimensional data
First Claim
1. A method of reorganizing existing data in a multidimensional database, the method comprising:
- providing a multidimensional data storage model in which data is located in cells that are stored and retrieved in blocks, each block comprising one or more cells;
providing a multidimensional logical access model independent of the multidimensional data storage model, the multidimensional logical access model comprising a tree index having one or more leaf nodes each corresponding with a cell and pointing to a block in the multidimensional data storage model containing the cell;
gathering, by a computer system, historical data access information derived from a plurality of user queries of the multidimensional database, the gathered historical data access information comprising identifications of all existing cells that have been accessed and the number of times that each cell has been accessed;
determining, by the computer system, for a first frequently-accessed cell, a second cell which is most frequently accessed along with the first frequently-accessed cell, using the gathered historical data access information; and
reorganizing, by the computer system, one or more selected existing cells in the multidimensional data storage model by moving one or both of the first frequently-accessed and second cells into the same block irrespective of the data located therein to minimize the number of blocks retrieved to access cells required in response to a typical user query of the multidimensional database whereby the multidimensional data access model is optimized to respond to queries that are incongruent with the structure of the multidimensional logical access model.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of indexing data in a multidimensional database includes creating a multidimensional logical access model, creating a multidimensional data storage model in which data is located in cells that are stored and retrieved in blocks, gathering data access information derived from one or more user queries of the database, and reorganizing one or more selected cells in the multidimensional data storage model based on the data access information to reduce the time taken to access the one or more selected cells in response to a user query of the database. A computerized apparatus in communication with a multidimensional database includes a program to perform the method. A computer readable medium contains instructions to cause a computer to perform the method.
-
Citations
17 Claims
-
1. A method of reorganizing existing data in a multidimensional database, the method comprising:
-
providing a multidimensional data storage model in which data is located in cells that are stored and retrieved in blocks, each block comprising one or more cells; providing a multidimensional logical access model independent of the multidimensional data storage model, the multidimensional logical access model comprising a tree index having one or more leaf nodes each corresponding with a cell and pointing to a block in the multidimensional data storage model containing the cell; gathering, by a computer system, historical data access information derived from a plurality of user queries of the multidimensional database, the gathered historical data access information comprising identifications of all existing cells that have been accessed and the number of times that each cell has been accessed; determining, by the computer system, for a first frequently-accessed cell, a second cell which is most frequently accessed along with the first frequently-accessed cell, using the gathered historical data access information; and reorganizing, by the computer system, one or more selected existing cells in the multidimensional data storage model by moving one or both of the first frequently-accessed and second cells into the same block irrespective of the data located therein to minimize the number of blocks retrieved to access cells required in response to a typical user query of the multidimensional database whereby the multidimensional data access model is optimized to respond to queries that are incongruent with the structure of the multidimensional logical access model. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
Specification