Curated · Concept Hierarchies

NAT · 1 mark · Problem DBMS-DWH-0019

A data cube has four dimensions with these concept hierarchies:Time: day \(<\) month \(<\) quarter \(<\) year; Item: item \(<\) brand; Location: city \(<\) country; Channel: no hierarchy (a single level).Counting the apex "all" level of every dimension, the total number of cuboids is .

Numerical answer (NAT).

Solve it on GATE DA practice →More Data Warehouse Modelling problems

Show the worked solution\[\boxed{\text{number of cuboids} = \prod_{i=1}^{n} (L_i + 1)}\]\(L_i\) is the number of levels of dimension \(i\); the \(+1\) is the "all" level.\((4 + 1)(2 + 1)(2 + 1)(1 + 1) = 5 \times 3 \times 3 \times 2 = 90\).(\(2^4 = 16\) would ignore the hierarchies.)Answer: 90

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com