Start studying
Module 13 · Data Engineering Basics Module contents
Module 13  ·  Card 7 / 13beginner

Data Warehouses

A data warehouse is a central database built for analysis, holding cleaned data from many sources in one place.

Data arrives in a structured, agreed shape, so analysts can query it with SQL without cleaning it first.

For example, a retailer's warehouse might combine sales, stock, marketing and finance data into one set of tables.

Warehouses usually store data in columns, which makes queries over millions of rows fast.

They are built for reading and reporting, not for running the website or app that creates the data.

Learn in depth ↓
Module 13 · Data Engineering Basics · 13 concepts
In depth  /  15 lines

Data Warehouses, in more detail

A data warehouse is where most of a company's analysis usually happens.

It brings data from many systems into one place, in a consistent shape, so they can be compared and joined.

Without one, every analyst pulls from every system separately and gets slightly different numbers.

Data is organised into tables designed for analysis rather than for running applications.

A common design is the star schema: a central fact table of events surrounded by dimension tables that describe them.

For example, a sales fact table holds one row per sale, linked to dimension tables for product, store and date.

Facts are usually numbers to add up, while dimensions hold the labels used to group and filter.

History is kept, so trends over years can be studied even after the source systems change.

Modern warehouses separate storage from computing power, so each can grow on its own.

Many run as cloud services, charging for storage and for the processing each query uses.

Warehouses are built for reading, so loading happens in batches rather than row by row.

A single agreed definition of each metric, held in the warehouse, prevents conflicting reports.

The cost of a warehouse grows with careless queries, so scanning less data saves real money.

In practice, the warehouse is the source that dashboards, reports and most analyses read from.

The usual mistake is loading data without agreeing on definitions, which only moves the arguments into the warehouse.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
A company's reports query the live database that runs its website, and the site slows down every morning. What is the usual fix?
Data Engineering Basics

13 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close