Lecture: Lecture 02 - Introduction to Data Warehousing

Core idea

Separating analysis from transaction processing creates the source and warehouse levels. A three-level design adds a staging area that separates extraction and transformation from final loading. This intermediate workspace eases complex preparation but adds stored copies and management work.

Overall flow (pages 17-18)

Operational and external sources feed ETL. The warehouse supports analytical tools, OLAP servers and, where appropriate, data marts. Metadata and warehouse management support the environment. Logical levels describe responsibilities; they are not a count of individual computers or databases.

Two levels (pages 24-25)

Source level -> ETL -> Warehouse level

The source separates transaction and analytical workloads, permits external inputs, and allows warehouse modeling and physical design tailored to analysis. Different temporal granularities can be managed independently. ETL still occurs; the absence of a separate staging level does not mean raw data needs no preparation.

Three levels (pages 26-27)

Source level -> Extraction/transformation and staging -> Loading -> Warehouse level

Staging provides an intermediate buffer that separates preparation from final warehouse loading. Complex cleaning and transformation become easier to manage. The additional representation needs more storage and introduces redundancy.

The slide says this intermediate area is sometimes called an Operational Data Store (ODS). Preserve this as the source’s terminology; staging areas and ODS designs are not universally synonymous.

Added reasoning example

Several stores submit differently formatted extracts. An intermediate workspace allows collection and reconciliation before final loading. Whether that extra layer is worthwhile depends on preparation complexity and operational requirements; the diagram alone is not a mandatory deployment recipe.

Related: ETL and Semantic Integration, Data Warehouses and Data Marts, Warehouse Metadata and Lineage.

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: 17-18, 24-27.

Exam practice and transfer

Worked scenario

A university warehouse is being designed around two and three level warehouse architectures. 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 staging layer can hold extracted files while they are cleaned and reconciled before loading the warehouse. It adds storage but isolates fragile preparation from final analytical tables.

Retrieval questions

  • Explain Two and Three Level Warehouse Architectures 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.