1. A computer-implemented method for analyzing data records in a multidimensional database with a plurality of data records, wherein each one said plurality of data records having a value and a plurality of dimensions, each one of said plurality of dimensions further having a hierarchy, comprising: for each one of said plurality of dimension hierarchies having a plurality of elements: determining a first vector that describes the structure relationship between said element with said other elements within said hierarchy; extracting a key for said dimension from said first vector, wherein said key being a first index to said first vector; defining a second vector composed of said key for each one of said plurality of dimensions, wherein said second vector being a second index to said each data record.