Frankfurt School Logo

Analytics & Big Data

Session 3: Analytical data architecture

Prof. Dr. Gerit Wagner

(2026-03-30)






  • Outline the architecture of data warehouses.
  • Explain dimensional modeling concepts and common schemata.
  • Design fact and dimension schemata from business questions and operational data.

Data warehouse

Application systems pyramid

Typical descriptive questions

Characteristics of operational and analytical databases



Operational database Analytical database
Target group Operational employees Management, Analysts
Access frequency High Slow to medium
Data volume per access Low to medium volume High volume
Required response time Very short Short to medium
Level of data Detailed Aggregated, processed
Queries Predictable, periodic Unpredictable, ad hoc
Focal period of time Current Past to future
Time horizon 1–3 months Years or decades

Contradiction between operational data architecture and analytical information needs



Organizations structure operational data by departments and processes, but analytical questions require cross-departmental views.

Different intensities of use

The hardware load differs in operational application systems and data warehouse systems over time

=> A data warehouse relieves the operational systems

Definition: Data warehouse

The term Data Warehouse was coined by Inmon (1995), who defined it as follows:


“A data warehouse is a subject-oriented, integrated, time-variant and non-volatile collection of data in support of management’s decision-making process.”


He defined the terms in the sentence as follows:

Subject-oriented: Data that gives information about a particular subject instead of about a company’s ongoing operations. Rather than reflecting fragmented departmental systems, it integrates data into consistent, cross-departmental subject areas.

Integrated: Data that is gathered into the data warehouse from a variety of sources and merged into a coherent whole.

Time-variant: All data in the data warehouse is identified with a particular time period.

Non-volatile: Data is stable in a data warehouse. More data is added but data is never removed. This enables management to gain a consistent picture of the business.

The data warehouse concept


Layers of a data warehouse system

Components of a data warehouse

Structure of the database

The database represents the core of the data warehouse. It contains current and historical data from all relevant areas of the company. In contrast to the operational databases, the data here is not structured according to the business processes and functions of the company, but is aligned with the facts that determine the company. They are organized in such a way that they can be viewed from different dimensions.

Frequently used dimensions are:

  • Product structure (e.g., product groups and individual products)
  • Regional structure (e.g., region, country, continent)
  • Customer structure (e.g., customer groups or segments, and individual customers)
  • Time structure (e.g., month, quarter, year)
  • Business parameters (e.g., sales, contribution margin, profit)
  • Characteristics (e.g., target, actual, deviations)

Examples of aggregation levels in a data warehouse

ETL pipeline

ETL tools

The data in the data warehouse can normally only be accessed in a read-only manner. The only exception to this are ETL tools, which are responsible for transferring data from internal and external information sources. They automate the process of data acquisition from these sources.

The timeliness with which the transfer to the database is performed can be defined flexibly, e.g., within defined time intervals, immediately after each change, or at the explicit request of the user.

ETL programs include:

  • Monitors: Detect and report changes in individual sources that are relevant to the data warehouse.

  • Extractors: Select and transport data from the data sources into the workspace.

  • Transformers: Unify, clean, integrate, consolidate, aggregate, and augment extracted data in the workspace.

  • Loaders: Load transformed data from the workspace into the data warehouse after the data retrieval process is complete.

Staging area

The staging area is a temporary cache that performs the ETL process. It includes the extraction, transformation and loading of the data into the data warehouse.

Neither the operational systems nor the data warehouse are affected by the process. The data can be transferred incrementally from the operational systems without having to have a permanent connection to them. It is stored temporarily and only transformed when it is sufficiently complete.

It is then loaded en bloc into the data warehouse, so that no inconsistencies can occur here either.

If the ETL process is successful, the data is deleted from the staging area.

The metadata repository

Metadata supports data management and serves as a descriptor for an object that holds some data or information. In data warehouses, it is collectively organized in a catalog called the metadata repository.

Metadata is classified into three types:

  • Technical metadata: Provides information about the structure of data, where it resides, and other technical details related to locating data in its native database.

  • Business metadata: Describes the actual data in business-understandable terms. It can provide insights into the type of data, its origin, definition, quality, and relationships with other entities in the data warehouse.

  • Process metadata: Stores information about the occurrence and outcomes of operations taking place in the data warehouse.

Data warehouse and data mart

A single-subject data warehouse is typically referred to as a Data Mart, while Data Warehouses are generally enterprise in scope.



Comparison: Data warehouse and data mart


Data mart Data warehouse
Application Division/Department Company
Data design Optimized Generalist
Data volume Gigabyte scale Terabyte scale
Origin Task oriented Data model oriented
Requirements Specific Versatile

Architectural variants of data warehouses in practice

Dimensional modeling

From transactions to reports


Example of a dashboard


Star schema (I)

The Star schema has a central fact table and exactly one dimension table for each dimension.

The cardinality between the fact table and a dimension table is n∶1, i.e. a fact (e.g. sales: 67,000 euros) is described by one dimension expression for each dimension (e.g. time: 1st quarter, region: Hesse, product group: books). A dimension characteristic (e.g. product group: books) is associated with 0, 1 or n facts.

Star schema (II)

G S Sales = 142,000 € W Netherlands S->W Where? T 2025 – Quarter 4 S->T When? P Service subscriptions S->P With what? O ... S->O ...

Star schema (III)


Star schema table design (I)

Star schema table design (II)

Star schema example

Queries on the star schema

Example:

In which years were the most cars purchased by female customers in Hesse in the 1st quarter?

select z.Year as Year, sum(v.Amount) as Total_Amount
from Branch f, Product p, Time z, Customer k, Sales v
where z.Quarter = 1 and k.gender = 'f' and p.Product_type = 'Car' and f.state = 'Hesse' \
    and v.Date = z.Date and v.ProductID = p.ProductID and v.Branch = f.Branchname \
    and v.CustomerID = k.CustomerID
group by z.Year
order by Total_Amount Descending;


Year Total amount
2004 745
2005 710
2003 650

Snowflake schema

In the Snowflake schema, the redundancies in the Star schema are resolved in the dimension tables and the hierarchy levels are each modeled with their own tables:


Star schema vs. snowflake schema

  • Speed of query processing is in favor of Star scheme
  • Data volume tends to be lower with Snowflake schema
  • Snowflake schema is easier to change (maintenance)

Galaxy schema

The Galaxy schema contains more than one fact table. The fact tables share some but not all dimensions. The Galaxy schema thus represents more than one data cube (multi-cubes).


Table structure of the Galaxy schema

OLAP operations

Subject of OLAP

Online Analytical Processing (OLAP) is software technology focused on the analysis of dynamic, multidimensional data.

The goal is to provide executives with the information they need quickly, flexibly and interactively.

OLAP functionality can be characterized as dynamic, multidimensional analysis of consolidated enterprise data, which includes the following components:

  • Calculations of key figures over different dimensions and aggregation levels
  • Trend analysis over definable time intervals
  • “What if” analyses
  • Multidimensional visualization methods

Facts and dimensions

Organizing data as hypercube

OLAP operations: Slicing and dicing


OLAP operations: Rotate


OLAP operations: Drill down and roll up


OLAP operations: Nest

The result of a nest operation physically represents a two-dimensional matrix. It is extended by displaying different hierarchy levels of one or more dimensions on one axis (column or row) in nested form. In the following example, three dimensions are displayed:

OLAP as Excel plug-in

Architecture of an OLAP system


Data warehousing in modern analytics

DWH as foundation

  • Codifies data preparation (ETL), transformations, and integration
  • Centralizes data access and metadata knowledge

Evolution vs. replacement

  • Accumulated logic and data understanding favor incremental over greenfield evolution

Data preparation

  • Errors should be fixed at the source systems
  • Transformations handled in ETL processes
  • Duplicate handling depends on context (within vs. across datasets)

Role in modern analytics

  • Serves as a curated, reliable data layer
  • ML and advanced analytics typically operate on top of the DWH

Summary

  • A data warehouse supports analytical decision-making by integrating data from multiple sources.
    It is subject-oriented, integrated, time-variant, and non-volatile, and separates analytical workloads from operational systems.

  • The ETL process (Extract, Transform, Load) prepares data for analysis: data is extracted from sources, cleaned and integrated in a staging area, and loaded into the warehouse. Metadata ensures transparency and usability.

  • Dimensional modeling organizes data for analysis:

    • Facts (e.g., sales) and dimensions (e.g., time, product, region)
    • Common schemata: star (simple, fast), snowflake (normalized), galaxy (multiple fact tables)
  • OLAP systems enable interactive, multidimensional analysis: operations such as slice, dice, drill-down, and roll-up support flexible exploration of aggregated data.

  • Overall, analytical data architecture transforms operational data into structured information that can be efficiently queried to support reporting, dashboards, and decision-making.

Survey: Session 3





https://forms.gle/dkwMZN4zPT7N3qbx5

References

Inmon, W. H. (1995). What is a data warehouse? Prism Tech Topic, 1(1), 1–5.
Inmon, W. H. (2005). Building the data warehouse. John wiley & sons.