Lecture: Lecture 03 - Data Warehouse Conceptual and Logical Design
Core idea
A conceptual model also records when relationships may be absent, which attributes describe rather than group members, and when distinct paths must agree. These annotations keep missing relationships and inconsistent hierarchy assumptions from silently changing the meaning of analysis.
Explanation and examples
Promotion is an optional dimension because some sales have no promotion. Diet is an optional edge within Product because that classification need not apply to every product.
Added clarification: no promotion and promotion unknown are different states. An inner join dropping unmatched promotions computes promotion-associated revenue, not total sales revenue. An overall report must retain unpromoted facts through suitable join logic or an explicit no-promotion member.
The source marks address and phone as descriptive attributes: details rather than intended roll-up levels. This role is not a technical prohibition on grouping them in a query.
The paths Shop -> City -> Region -> Country and Shop -> Sales district -> Country converge on one Country. The model asserts agreement, not merely two columns with matching names. If districts cross countries, district does not determine one country and that simple path needs redesign.
The diagram also records non-additivity, making measure restrictions visible to designers and users.
Related: Dimensional Fact Model and Hierarchy Dependencies, Measure Additivity and Snapshot Semantics.
Source
Elena Baralis, Data warehouse design, Politecnico di Torino, DBMG, local DSTBD_3-DWprogConcLog-EN.pdf, 47 PDF pages. References use PDF page order. The source credits modeling material to Golfarelli and Rizzi, Data warehouse, teoria e pratica della progettazione, McGraw Hill, 2006. Original PDF and figures remain local under the copyright notice. Examples and qualifications marked as added are study explanations. Relevant PDF pages: 15.
Exam practice and transfer
Worked scenario
A warehouse designer is deciding how to represent dfm optional relationships descriptive attributes and convergence for a university reporting system. State the intended grain and business meaning first, then trace one example row or query and explain why the representation preserves the required analysis.
Concrete example
A promotion may be absent for a sale, while product brand describes the product without forming a grouping level. Two paths that claim the same month must converge to the same calendar meaning.
Retrieval questions
- Explain DFM Optional Relationships Descriptive Attributes and Convergence in your own words, then identify the problem it prevents in a real data project.
- Give a small example that would violate the concept, and explain how the violation would distort an analysis or query.
- Compare this concept with the nearest related idea in the note and state when each should be used.
These prompts are added study practice. They require explanation and transfer rather than copying a definition.