Lecture: Lecture 02 - Introduction to Data Warehousing

Core idea

Reliable comparisons require more than identical column layouts. ETL extracts source records, cleans and transforms them into agreed meanings and formats, then loads them into the warehouse. A common structure cannot fix incompatible revenue definitions or product identifiers without explicit reconciliation.

ETL stages (pages 21-22)

ETL means Extraction, Transformation and Loading. The source identifies extraction from operational and external sources, cleaning for correctness and consistency, transformation into warehouse format, and loading that propagates updates into the warehouse. It runs during initial population and periodic refreshes.

Added semantic-integration example

SourceProduct codeAmount definition
Berlin shopM01Revenue including tax
Munich shopMILK7Revenue excluding tax

Giving both records columns named Product and Revenue does not make them comparable. Establish which product each code identifies and agree on a tax basis before aggregating. A mapping must be justified; similar-looking codes do not prove identity.

Extraction obtains the records. Cleaning addresses invalid values, inconsistencies or duplicates. Transformation applies identifier mappings, unit conversions and agreed business rules. Loading stores the prepared results for analysis.

Design limits

Transformation cannot invent basket membership once it has been discarded, and a consistent format cannot repair an undefined business concept. Missing and unusual values need interpretation rather than automatic deletion or replacement with zero.

Related: Data Cleaning and Integration, Warehouse Metadata and Lineage, Two and Three Level Warehouse Architectures.

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: 21-22.

Exam practice and transfer

Worked scenario

A university warehouse is being designed around etl and semantic integration. 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

One source uses product code MILK7 and another uses M01. ETL maps both to one product identity and reconciles whether revenue includes tax before loading a combined total.

Retrieval questions

  • Explain ETL and Semantic Integration 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.