Lecture: Lecture 02 - Introduction to Data Warehousing
Core idea
Stored values need definitions that explain their origin, transformations and intended use. Metadata describes this context as well as warehouse structures and query execution. It lets users and maintainers trace how a result was produced instead of assuming that a tidy number is trustworthy.
Metadata roles (page 23)
Metadata means data about data. The source distinguishes information for transformation/loading, data management and query management.
- Transformation metadata describes sources and required operations.
- Management metadata describes warehouse structures, including materialized views.
- Query metadata can include SQL, execution plans, memory use and CPU use.
The slide also mentions a historical OMG metadata-exchange initiative. That reference is source context, not a newly verified recommendation or standards comparison.
Added example: tracing a number
A revenue result should have an understandable definition: source amount, tax treatment, currency conversion if needed, transformations applied and the grain of the stored facts. Following that origin and transformation history is commonly called lineage; this term is an added explanation of the source’s metadata roles.
Metadata records the intended interpretation and processing. It supports trust and diagnosis but does not prove the source values or transformations are correct.
A query plan explains execution, while a business definition explains meaning. Both are useful metadata, but they answer different questions.
Related: ETL and Semantic Integration, Star Schemas and Fact Tables.
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: 23.
Exam practice and transfer
Worked scenario
A university warehouse is being designed around warehouse metadata and lineage. 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
When a dashboard shows revenue, lineage should identify its source columns, tax transformation, load date and aggregation logic. Without that context, a plausible number is difficult to audit.
Retrieval questions
- Explain Warehouse Metadata and Lineage 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.