Lecture: Lecture 03 - Data Warehouse Conceptual and Logical Design

Core idea

Facts preserve event dates, but changing descriptions also affect historical interpretation. Overwriting gives a current view; versioning connects facts to historical states. A stable direct fact reference, such as residence city at purchase, can sometimes preserve the specific context without versioning the entire customer.

Explanation and examples

Source labelBehavior described
Type IOverwrite descriptions with current values
Type IINew dimension instance after changes; subsequent events reference it
Type IIIVersion validity start/end and a master/root link for tracking changes and selected-time interpretation

The source’s Type III name differs from common slowly-changing-dimension taxonomies. Preserve its described behavior rather than assuming labels transfer unchanged across references. Validity boundaries must have an unambiguous interpretation.

Added example: customer C1 moves from Berlin to Munich. Purchases reference Berlin version V1 or Munich version V2 according to the intended event-time state. One person has several historical descriptions, not several identities. Purchase dates alone cannot recover an overwritten city.

Alternative developed in discussion: each order may directly reference residence city at purchase. Keep that association stable after the current customer address changes. Residence, shipping and billing city are different roles. This preserves the city question without necessarily versioning all customer attributes; historical combinations of traits or changes independent of purchases may still justify customer versions.

Related: Star Snowflake Schemas and Surrogate Keys, Warehouse Requirements and Design Lifecycle.

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: 26-30.

Exam practice and transfer

Worked scenario

A warehouse designer is deciding how to represent historical dimensions and fact-time context 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

If a customer moves from Turin to Milan, a current-only dimension would relabel old orders. A historical version or a direct order-time city reference preserves the context at purchase.

Retrieval questions

  • Explain Historical Dimensions and Fact-Time Context 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.