Lecture: Lecture 02 - Introduction to Data Warehousing

Core idea

The analytical cube is a logical view rather than a requirement to store a literal array. ROLAP uses relational database structures, MOLAP uses specialized multidimensional storage, and HOLAP combines approaches. Data sparsity and access patterns help explain the implementation tradeoffs.

Server types (page 20)

ServerExpansionSource emphasis
ROLAPRelational OLAPRelational DBMS, aggregate SQL extensions and specialized access methods
MOLAPMultidimensional OLAPProprietary multidimensional matrix representation and specialized primitives
HOLAPHybrid OLAPCombination of approaches

The source notes relational representation of sparse data and compression requirements for sparse multidimensional matrices. It does not provide a universal performance ranking or prescribe one hybrid layout.

Connection to the star schema

Product, shop and time can define conceptual cube coordinates while fact and dimension tables implement those relationships in a relational database. A cube drawing describes how to analyze data; a storage design determines how the system represents and accesses it.

Added design explanation

Repeated monthly summaries, detailed lookups, empty combinations and refresh needs influence implementation choices. A server type alone does not establish that a particular query will be fast; the data and physical design still matter.

Related: Star Schemas and Fact Tables, Warehouse Size Sparsity and Aggregation.

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: 20.

Exam practice and transfer

Worked scenario

A university warehouse is being designed around rolap molap and holap. 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 relational warehouse may answer a new SQL grouping flexibly. A multidimensional store can answer repeated cube operations quickly. A hybrid keeps detail relational while accelerating selected summaries.

Retrieval questions

  • Explain ROLAP MOLAP and HOLAP 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.