Lecture: Lecture 03 - Data Warehouse Conceptual and Logical Design

Core idea

A bridge keeps many-to-many membership separate from original facts, with optional allocation weights. Weighted queries distribute credit; impact queries report full activity associated with overlapping members. The query must preserve the distinction between allocated shares and distinct physical activity.

Explanation and examples

Added example: B1 sells 10 copies for EUR 100. A bridge links it to author A at 0.6 and B at 0.4. Weights express an allocation rule, not a mathematical fact about authorship; weights should sum to 1 for a complete allocation of each contribution.

QueryAB
Allocated revenue: Income * WeightEUR 60EUR 40
Allocated copy-equivalents: Quantity * Weight64
Copies of books involving author: Quantity1010

Six is allocated credit, not the actual number of copies sold of A’s co-authored book. Impact groups overlap; 10+10 counts author-copy associations, not 20 physical copies.

A join produces one matching row per author. The bridge alone does not prevent double counting. Use the original fact table for overall sales, or deduplicate actual fact identities when required; SUM(DISTINCT Quantity) is not a general solution because separate facts can share the same quantity.

Push-down adds Author_ID and allocated measures to the fact during loading. It changes grain, introduces redundancy and can reduce joins, but complicates changing weights and recovering impact results. Changing author relationships or allocations over time also requires appropriate historical modeling.

Related: Shared Hierarchies Multiple Edges and Configuration Attributes, 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: 41-44.

Exam practice and transfer

Worked scenario

A warehouse designer is deciding how to represent bridge tables allocation and impact queries 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 co-authored book generates EUR 100 of sales. A 60/40 bridge allocation reports EUR 60 and EUR 40, while an impact query associates the full EUR 100 with both authors. These totals answer different questions.

Retrieval questions

  • Explain Bridge Tables Allocation and Impact Queries 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.