Studierende stehen vor dem LC und blicken lächelnd einer Kollegin mit einer Mappe in der Hand nach.

Exercise No. 24: Paperboy (apa)

The cube resulting from DFM Case "paperboy" stores data about customers getting newspapers by a paperboy.

We have four dimensions with the following hierarchical structure:

Table A.E.50.1 - paperboy

Please build the Aggregation Path Array and assume the following end-user requirements:

1) "a roll up by the time dimension starting at weeks for each combination of paperboy and newspaper independent of all other dimensions"

2) "a monthly report on the district level independent of all other dimensions"

3) "a complete drill-down by the time dimension down to weeks for each combination of city and publishing house, irrespective of all other dimensions"

Select the corresponding cells in the APA and choose the cubes to materialize, then highlight the derivatives of those cubes.

Solution

Figure A.E.50.1 - The resulting APA with the redundancy free-set highlighted

Size of the redundancy-free set (including the base cube): 128

Required cubes, the materialization decision and derivatives

The blue area represents the end-user requirement 1 ("a roll up by the time dimension starting at weeks for each combination of paperboy and newspaper independent of all other dimensions"), requirement 2 ("a monthly report on the district level independent of all other dimensions") and requirement 3 ("a complete drill-down by the time dimension down to weeks for each combination of city and publishing house, irrespective of all other dimensions").

Materializing cube v = (P_pb,C_*,N_ne,T_w) (dark blue cell "T_w", representing end-user requirement 1), cube w = (P_*,C_di,N_*,T_m) (dark green cell "T_m", representing end-user requirement 2) and cube x = (P_*,C_ci,N_ph,T_w) (red cell "T_w", representing end-user requirement 3) offer us the following sets of derivatives.

Figure A.E.50.2 - Derivatives of cube v = (P_pb,C_*,N_ne,T_w)

Figure A.E.50.3 - Derivatives of cube w = (P_*,C_di,N_*,T_m)

Figure A.E.50.4 - Derivatives of cube x = (P_*,C_ci,N_ph,T_w)

Figures A.E.50.2 to A.E.50.4 show that no end-user requirement is covered by the derivatives of another vector. To meet all end-user requirements we will have to materialize cube v, w and x.

This exercise is part of a case study: dfm - apa - log