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

Exercise No. 57: E-Commerce (apa)

The cube resulting from DFM Case "e-commerce" stores data about customers paying for products offered in the world wide web.

We have six dimensions with the following hierarchical structure:

Table A.E.48.1 - e-commerce

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

1) "a daily report on the product type level independent of all other dimensions"

2) "a complete drill-down by the time dimension down to week for each combination of customer and credit card, 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.48.1 - The resulting APA with the redundancy free-set highlighted

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

Required cubes, the materialization decision and derivatives

The blue area represents the end-user requirement 1 ("a daily report on the product type level independent of all other dimensions") and requirement 2 ("a complete drill-down by the time dimension down to week for each combination of customer and credit card, irrespective of all other dimensions").

Materializing cube v = (W_*,CC_*,C_*,E_*,P_ty,T_d) (dark blue cell "P_ty", representing end-user requirement 1) and cube w = (W_*,CC_cc,C_cu,E_*,P_*,T_w) (dark green cell "T_w", representing end-user requirement 2) offer us the following sets of derivatives.

Figure A.E.48.2 - Derivatives of cube v = (W_*,CC_*,C_*,E_*,P_ty,T_d)

Figure A.E.48.3 - Derivatives of cube w = (W_*,CC_cc,C_cu,E_*,P_*,T_w)

Figures A.E.48.2 and A.E.48.3 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 both cubes.

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