Lecture: Lecture 02 - Introduction to Data Warehousing

Core idea

With dimensions and measures in place, an analyst can calculate summaries and explore finer detail. OLAP supports this structured exploration, while data mining uses algorithms to discover patterns or build models. Locating a sales decline through drill-down helps focus investigation but does not establish its cause.

Analysis and presentation (pages 14-15)

OLAP means Online Analytical Processing. The source emphasizes complex aggregate calculations, including moving averages and top-ten results. Presentation is a separate activity: the same query output can be rendered using different reporting or visualization tools.

Added drill-down example

Annual revenue falls. Examine revenue by month, identify September, then examine September by shop. This moves from a broad total into finer contextual detail. It can reveal where and when the decline appears, but a stock shortage, changed prices and fewer customers could require further evidence to distinguish.

Finer detail must exist in the data. Monthly-only totals cannot reveal individual daily patterns.

Comparison

ApproachExample question
OLAPWhat was monthly revenue by region?
Data miningWhich shops have similar sales behavior?
PresentationHow should these results be shown to users?

Data mining adds algorithmic discovery; OLAP supports analytical queries and exploration. These are complementary activities and neither guarantees causal explanations or useful decisions.

Related: Data Mining and Patterns, 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: 14-15.

Exam practice and transfer

Worked scenario

A university warehouse is being designed around olap drill down and data mining. 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

Drilling from annual revenue to month and shop can locate September as the problem period. It does not prove whether stock shortage, pricing or competition caused the decline.

Retrieval questions

  • Explain OLAP Drill Down and Data Mining 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.