Lecture: Lecture 03 - Data Warehouse Conceptual and Logical Design

Core idea

Some useful events have no stored numerical measurement. Factless schemas record occurrences that can be counted. To identify events that did not occur, additionally retain the expected or eligible combinations and compare them with actual occurrences at a matching grain and scope.

Explanation and examples

The source’s attendance example uses student, course and semester. A row can record an attendance relationship without an amount or duration. Counting those rows does not count individual class visits; define grain and duplicate rules first.

Added promotion example: sales records show products that sold, not every product included in a promotion. Retain eligible product-promotion combinations, with participating shop and time scope when relevant.

Eligible combinations - matching recorded sales = combinations with no recorded sale.

Use the eligible promotion set, not the whole catalogue. A sale outside the promotion period or shop scope must not remove an eligible combination from the no-sales result.

An occurrence table and coverage table serve different purposes. Missing occurrences indicate non-events only when collection completeness justifies that interpretation. Otherwise absence can mean missing data. Do not insert zero-sale events without defining what their rows represent.

Related: Dimensions Measures and Fact Grain, DFM Optional Relationships Descriptive Attributes and Convergence.

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: 25.

Exam practice and transfer

Worked scenario

A warehouse designer is deciding how to represent factless facts and coverage sets 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 factless table can record that a student attended a session without storing a numeric measure. To find eligible students who did not attend, retain the expected student-session combinations too.

Retrieval questions

  • Explain Factless Facts and Coverage Sets 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.