Data Warehousing

Measurement
Introduced by
William H. Inmon and Ralph Kimball
Year
1992
Type
Data system architecture
Family
Business Analytics & Analytics Architecture

What does it do?

Data warehousing is an approach to designing integrated repositories of historical business data, organized for analysis and reporting rather than transaction processing.

It is associated with William H. Inmon and Ralph Kimball, whose work in the early 1990s established the core ideas. A data warehouse consolidates data from several operational sources into a time-stamped store that supports queries across multiple business dimensions.

The intuition behind the method

Operational databases are built to process individual transactions quickly, which makes them poorly suited to analysis that spans many business entities and long time periods. A data warehouse holds a separate copy of the relevant data, so analytical queries do not compete with the systems that record daily transactions. Data is loaded from the sources into a structure designed around analytical questions, with business measures held in fact tables and descriptive attributes held in dimension tables. A data warehouse is commonly defined by four properties: it is subject-oriented (organised around business subjects such as customers, products or sales rather than individual applications), integrated (data from different sources is reconciled into consistent formats and definitions), time-variant (each record is associated with a point or period in time, so history is kept), and non-volatile (data is loaded and read rather than updated transaction by transaction).

History

William H. Inmon's book Building the Data Warehouse (1992) set out the concept of an integrated, enterprise-wide warehouse for historical analysis. Ralph Kimball developed a dimensional approach based on fact tables, dimension tables and star schemas, which is documented in the Toolkit books cited on this page. The two approaches are both still discussed in practice, and later cloud-based platforms have changed how warehouses are deployed and scaled.

When to use it

Build a data warehouse when analysts need to compare historical business data across several domains or operational systems, and when the same reports must give consistent results across the organisation. It suits organisations that run many operational systems and have recurring reporting needs. Do not choose it when decisions depend on current transactional data, because loads are typically batch-based and the data lags behind the sources. It also assumes that analytical requirements are reasonably stable; frequently changing questions make the fixed schema costly to revise.

Limitations and considerations

  • Building and maintaining the warehouse requires substantial infrastructure and specialist skills in data modelling and integration
  • Batch loading introduces latency, so the warehouse cannot supply the current operational state needed for immediate transactional decisions
  • Changes to dimension attributes, handled as slowly changing dimensions, add design and maintenance work, and altering the schema after reports depend on it can be disruptive

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Moves analytical queries away from the operational systems that record transactions, so each workload can be tuned for its own purpose
  • Keeps a time-stamped history of business data, which allows comparisons across periods even after source records have changed
  • Gives one set of definitions for shared business measures, so reports drawn from different source systems can be reconciled

Applications

  • Retail organizations analyzing sales patterns across stores, products, and time periods for inventory optimization
  • Financial institutions tracking customer behavior, transactions, and risk metrics for compliance and strategy
  • Healthcare systems analyzing patient outcomes across treatments, demographics, and providers for quality improvement
  • Manufacturing companies correlating production, quality, and efficiency metrics across facilities and time

How it works

How it works

1

Identify the source systems that hold the required data, such as operational databases, external data providers and log systems.

2

Extract data from these sources, then clean and standardise it so that the same business concept has one consistent definition across sources. This back-end work is usually described as extraction, transformation and loading (ETL).

3

Design the dimensional schema, meaning the fact and dimension tables, from the analytical requirements and the key business metrics. Declare the grain of each fact table, that is, what one row represents, before defining its measures. Reuse the same dimension definitions across marts (conformed dimensions) so that results from different business areas can be combined. The fact and dimension design for each subject area should be settled before its data is loaded, so the load process has a defined target. The schema can then be extended in iterations as requirements change.

4

Load the prepared data into the staging area and the dimension tables, then populate the fact tables with the transformed measurements.

5

Give business users access through reporting tools, OLAP tools and ad-hoc query tools so they can analyse the warehouse contents. A metadata repository, which stores data about the warehouse data itself such as sources and definitions, lets users and maintainers check what a figure means.

Common pitfalls

  • Starting the design before the analytical questions and key metrics are defined, which leads to a schema that answers few of the questions users actually ask
  • Copying the structure of operational databases into the warehouse instead of designing fact and dimension tables for analysis
  • Placing too many dimensions on a single fact table, which makes the table harder to load, maintain and query efficiently
  • Building separate marts whose dimensions use different definitions for the same entity, so figures from different business areas cannot be reconciled

Frequently asked questions

What is the difference between a data warehouse and a data mart?

A data warehouse is enterprise-wide and contains data from multiple sources across many business areas. A data mart is a subset focused on one business domain (e.g., sales). Data marts are often fed from the warehouse.

Should I use Inmon's top-down or Kimball's bottom-up approach?

Inmon's approach starts by building one integrated enterprise warehouse, from which departmental views are derived. Kimball's approach builds dimensional data marts incrementally, each serving a business area, and combines them through shared dimensions. The choice depends on how much enterprise-wide integration is needed up front and how quickly individual business areas need results.

What is a slowly changing dimension and why does it matter?

Slowly changing dimensions are attributes that change rarely (e.g., product category). Handling them correctly ensures historical queries show the correct dimension values at each point in time, supporting accurate trend analysis.

How often should I refresh the warehouse?

Refresh frequency should follow the freshness requirements of the business and the load that the source systems can bear. Daily batches are a common choice but not a universal one; hourly or near-real-time refresh is needed mainly for tactical decisions that depend on current data. Balance freshness against resource costs and source-system load.

Related methods

Sources

  1. Inmon, W. H. (1992). Building the Data Warehouse. New York: QED Technical Publishing.

    Open publication reference
  2. Kimball, R. (1996). The Data Warehouse Toolkit: Practical Techniques for Building Dimensional Data Warehouses. New York: John Wiley & Sons.

    Open publication reference
  3. Kimball, R., & Ross, M. (2013). The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling (3rd ed.). Wiley.

    Open publication reference
  4. 04-Data Warehousing and OLAP, p. 4