Method and systems for making OLAP hierarchies summarisable
First Claim
1. A method for transforming a general on-line analytical processing dimension into an at least partly aggregation normalised dimension, by means of a computer, the dimension having dimension values organised into categories of dimension values based on a partial ordering, the dimension comprising mappings of links between dimension values, the method comprising the steps ofretrieve the mapping from data storage means associated with the computer,analysing the mapping to determine irregularities of the dimension, by means of analysing means executed by the computer,creating new dimension values of the dimension and modifying the mapping between dimensional values of the dimension according to the analysis, whereby the dimension is at least partly aggregation normalised, andsaving the new dimension values and the modified mappings in data storage means of the computer, whereinthe step of creating new dimensional values of the dimension and modifying the mapping comprises the steps ofexamine whether the dimension is covering, as well as onto, andexecuting a make-strict procedure for making the dimension aggregation strict if the dimension is covering as well as onto, thereby making the dimension aggregation normalised.
0 Assignments
0 Petitions
Accused Products
Abstract
A method, a computer system and a computer program product for a computer system for transforming general On-line Analytical Processing (OLAP) hierarchies into summarizable hierarchies whereby pre-aggregation is disclosed, by which fast query response times for aggregation queries without excessive storage use is made possible even when the hierarchies originally are irregular. Pre-aggregation is essential for ensuring adequate response time during data analysis. Most OLAP systems adopt the practical pre-aggregation approach, as opposed to full pre-aggregation, of materializing only select combinations of aggregates and then re-use these for efficiently computing other aggregates. However, this re-use of aggregates is contingent on the dimension hierarchies and the relationships between facts and dimensions satisfying stringent constraints. The present invention significantly extends the scope of practical pre-aggregation by transforming irregulare dimension hierarchies and fact-dimension relationships into well-behaved structures that enable practical pre-aggregation.
-
Citations
23 Claims
-
1. A method for transforming a general on-line analytical processing dimension into an at least partly aggregation normalised dimension, by means of a computer, the dimension having dimension values organised into categories of dimension values based on a partial ordering, the dimension comprising mappings of links between dimension values, the method comprising the steps of
retrieve the mapping from data storage means associated with the computer, analysing the mapping to determine irregularities of the dimension, by means of analysing means executed by the computer, creating new dimension values of the dimension and modifying the mapping between dimensional values of the dimension according to the analysis, whereby the dimension is at least partly aggregation normalised, and saving the new dimension values and the modified mappings in data storage means of the computer, wherein the step of creating new dimensional values of the dimension and modifying the mapping comprises the steps of examine whether the dimension is covering, as well as onto, and executing a make-strict procedure for making the dimension aggregation strict if the dimension is covering as well as onto, thereby making the dimension aggregation normalised.
-
2. A method for transforming a general on-line analytical processing dimension into an at least partly aggregation normalised dimension, by means of a computer, the dimension having dimension values organised into categories of dimension values based on a partial ordering, the dimension comprising mappings of links between dimension values, the method comprising the steps of
retrieve the mapping from data storage means associated with the computer, analysing the mapping to determine irregularities of the dimension, by means of analysing means executed by the computer, creating new dimension values of the dimension and modifying the mapping between dimensional values of the dimension according to the analysis, whereby the dimension is at least partly aggregation normalised, saving the new dimension values and the modified mappings in data storage means of the computer, wherein the step of creating new dimensional values of the dimension and modifying the mapping comprises the steps of examine whether the dimension is covering, and executing a make-onto procedure for making the dimension onto if the dimension is covering, thereby at least partly making an non-onto dimension aggregation normalised.
-
3. A method for transforming a general on-line analytical processing dimension into an at least partly aggregation normalised dimension, by means of a computer, the dimension having dimension values organised into categories of dimension values based on a partial ordering, the dimension comprising mappings of links between dimension values, the method comprising the steps of
retrieve the mapping from data storage means associated with the computer, analysing the mapping to determine irregularities of the dimension, by means of analysing means executed by the computer, creating new dimension values of the dimension and modifying the mapping between dimensional values of the dimension according to the analysis, whereby the dimension is at least partly aggregation normalised, saving the new dimension values and the modified mappings in data storage means of the computer, wherein the step of creating new dimensional values of the dimension and modifying the mapping comprises the step of executing a make-covering procedure for making the dimension covering, thereby at least partly making a non-covering dimension aggregation normalised.
-
14. A method for by means of a computer to at least partly aggregation normalise a general on-line analytical processing multidimensional object including a set of facts comprising a plurality of facts mapped on an aggregation normalised plurality of dimensions having dimension values being organised into categories of dimension values based on a partial ordering, the multidimensional object comprising mappings of links between dimension values within each dimension,
the method comprising the steps of retrieve the mapping from data storage means associated with the computer, including the mapping of the plurality of facts on the multidimensional object into the mapping of the multidimensional object so that the mapping comprises links from each of the facts to at least one dimension value in each of the plurality of dimensions, and the facts constitute the bottom layer of each of the dimensions of the multidimensional object, analysing the mapping of the multidimensional object to determine irregularities of the dimensions by means of analysing means executed by the computer, creating new dimension values of the multidimensional object and modifying the mapping between dimensional values of the multidimensional object according to the analysis, whereby the multidimensional object is at least partly aggregation normalised, and saving the new dimensions and the modified mapping in data storage means of the computer, wherein the step of creating new dimension values of the multidimensional object and modifying the mapping comprises the step of executing a make-strict procedure for making the multidimensional object aggregation strict, thereby making the multidimensional object aggregation normalised, the make-strict procedure being executed on the condition that the multidimensional object is covering prior to the execution.
-
15. A method for by means of a computer to at least partly aggregation normalise a general on-line analytical processing multidimensional object including a set of facts comprising a plurality of facts mapped on an aggregation normalised plurality of dimensions having dimension values being organised into categories of dimension values based on a partial ordering, the multidimensional object comprising mappings of links between dimension values within each dimension,
the method comprising the steps of retrieve the mapping from data storage means associated with the computer, including the mapping of the plurality of facts on the multidimensional object into the mapping of the multidimensional object so that the mapping comprises links from each of the facts to at least one dimension value in each of the plurality of dimensions, and the facts constitute the bottom layer of each of the dimensions of the multidimensional object, analysing the mapping of the multidimensional object to determine irregularities of the dimensions by means of analysing means executed by the computer, creating new dimension values of the multidimensional object and modifying the mapping between dimensional values of the multidimensional object according to the analysis, whereby the multidimensional object is at least partly aggregation normalised, and saving the new dimensions and the modified mapping in data storage means of the computer, wherein the step of creating new dimensional values of the multidimensional object and modifying the mapping comprises the step of executing a make-covering procedure for making the multidimensional object covering, thereby at least partly making the non-covering multidimensional object aggregation normalised.
-
21. A computer system for on-line analytical processing having data storage means associated therewith on which a multidimensional object is stored, the multidimensional object including
a set of facts comprising a plurality of facts, a first plurality of dimensions having dimension values being organised into categories of dimension values based on a partial ordering and comprising a first mapping of links between dimension values within each dimension of the first plurality of dimensions as well as links between the facts and the dimensions of the first plurality of dimensions, at least one of the dimensions of the first plurality of dimensions being irregular, and a second plurality of dimensions having dimension values being organised into categories of dimension values based on a partial ordering and comprising a second mapping of links between dimension values within each dimension of the second plurality of dimensions as well as links between the facts and the dimensions of the second plurality of dimensions, each of the second plurality of dimensions being aggregation normalised, the computer system comprising a query handler component being adapted for producing replies to queries made to the computer system and concerning the multidimensional object, replies to navigation queries being based on the first set of dimensions and replies to aggregate queries being based on the second set of dimensions, wherein the query handler component is adapted for producing replies to aggregate queries in which replies the existence of the second plurality of dimensions is transparent, wherein the query handler component is adapted for transforming aggregate queries made to the first plurality of dimensions into queries for the second set of dimensions and transforming replies based on the second set of dimensions into replies as based on the first set of dimensions, thus making the existence of the second plurality of dimensions transparent in the produced reply, wherein the multidimensional object is stored within the data storage means of the computer system in tables organised as a combination of star schemes for the part of the multidimensional object containing only strict mappings, and additional tables containing the part of the mappings, the query handler component makes use of said tables in transforming queries and replies.
Specification