Lecture: Lecture 02 - Introduction to Data Warehousing

Core idea

An enterprise warehouse integrates information across the business, while a data mart focuses on a department or subject. A dependent mart draws from the warehouse; an independent mart draws directly from sources. Narrower scope can speed implementation, but separately chosen definitions make later integration harder.

Scope and dependencies (page 19)

The source contrasts the broad modeling effort and longer implementation of a company warehouse with a smaller departmental information subset. A dependent mart is fed by the company warehouse; an independent mart is fed directly by sources. A mart need not be just an aggregate: its defining distinction here is scope and source dependency.

Added example

Sales and finance build independent marts. Sales recognizes revenue when an order is placed; finance recognizes it when payment arrives. Monthly totals may disagree even if both systems follow their local definitions correctly. Integration requires deciding which business meaning each analysis needs, not merely joining tables.

A dependent mart can reuse the enterprise warehouse’s integrated data, but transformations and definitions still need to be documented. Dependency alone does not make every downstream calculation correct.

Tradeoff

An enterprise view supports cross-department comparisons but needs coordinated modeling. Independent delivery can be quicker for a limited purpose, while accumulating reconciliation work. The lecture presents architectures and tradeoffs, not a universal rule that one approach is always best.

Related: ETL and Semantic Integration, Decision Support BI and Data Warehouses.

Source

Elena Baralis, Data warehouse - Introduction, Politecnico di Torino, DBMG, local DSTBD_2-DWintro-EN.pdf, 27 PDF pages. References use PDF page order. Original PDF and figures remain local under the source copyright notice. Added examples and qualifications are study explanations. Relevant pages: 19.

Exam practice and transfer

Worked scenario

A university warehouse is being designed around data warehouses and data marts. Start with one concrete business question, identify the facts and context required, and explain what would be lost or misinterpreted if the representation were chosen incorrectly.

Concrete example

A company-wide warehouse can define revenue once for finance and sales. A marketing mart may focus on campaign response. An independent mart can be faster to build but may later disagree with the warehouse.

Retrieval questions

  • Explain Data Warehouses and Data Marts 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.