Book a free call

Data Warehouse Concepts Every Team Should Know

A data warehouse gathers cleaned, historical data from many systems into one place for reporting. Learn the core concepts, from fact tables to ETL, before you build.

Hertiv engineering teamReviewed by a senior engineer
7 min read
Data Warehouse Concepts Every Team Should Know
On this page

Short answer

A data warehouse is a central store that combines cleaned, historical data from many source systems so teams can run reports and analysis on a single, trusted copy. Unlike an operational database, which serves one application day to day, a warehouse is shaped for questions that span months or years of data.

What are data warehouse concepts?

A data warehouse is a central store that combines cleaned, historical data from many source systems so teams can run reports and analysis on one trusted copy. The core concepts describe how data is organised, cleaned and served to the people who ask questions of it.

A warehouse is not a bigger database. An operational database is built to record transactions fast and serve one application. A warehouse is built to answer questions across many systems and long time periods, so it stores data in a different shape and keeps history instead of overwriting it.

The main concepts are:

ConceptWhat it isWhy it matters
Fact tableMeasurable events, such as sales or clicksThe numbers every report adds up
Dimension tableDescriptions, such as product or storeHow reports are grouped and filtered
Star schemaOne fact table joined to flat dimensionsSimple, fast queries for common reports
Snowflake schemaDimensions split into related tablesLess repeated data, more complex joins
Staging areaA holding zone for raw incoming dataCleaning happens before data is trusted
ETL or ELTExtract, transform and load in some orderTurns raw source data into usable records
Data martA smaller warehouse for one team or topicFaster answers for a focused audience
MetadataData about the data, such as definitionsPeople can trust what a field means

These ideas work together. Source data lands in staging, is cleaned and shaped by an ETL or ELT process, and is stored as facts and dimensions that reports can read. Metadata records what each field means so two teams do not read the same column differently. If you are choosing a platform, best data warehouses for startups compares the common options.

How is a data warehouse different from a database?

A data warehouse differs from an operational database in what it is shaped for: a database records the present, while a warehouse keeps the past in a form that is easy to question.

An operational database serves one application. It stores the current state of orders, customers or stock, and it is tuned for fast reads and writes of single records. When a record changes, the old value is usually replaced, so history is lost.

A warehouse serves many questions at once. It keeps historical rows, so a sale from last year is still there to compare with this year. It stores data in wide, denormalised tables that are slower to write but faster to scan in bulk, which suits reports that add up millions of rows.

The two are not rivals. Most teams keep the operational database for the application and copy its data into the warehouse on a schedule. Trying to run heavy reports on the live database slows the application down, and trying to run an application on a warehouse fails because warehouses are not built for single-record writes. Larger teams often follow enterprise data warehouse patterns when several systems must feed one store.

What are fact and dimension tables?

Fact tables hold the measurable events, and dimension tables hold the descriptions that give those events meaning. Together they form the shape of almost every warehouse.

A fact table stores one row per event: a sale, a page view, a support ticket. Each row carries numbers to add up, such as amount, quantity or duration, plus keys that point at the dimensions. Fact tables grow large because every event adds a row, and they are the tables that reports aggregate.

A dimension table stores the context: the product, the customer, the store, the date. Dimensions change slowly, so a product row might gain a new category but keep the same key. When a dimension does change in a way that matters, warehouses often keep the old version as well, so old reports still read the same way.

The split matters for speed and clarity. Aggregating a fact table is fast when the grouping columns live in small dimension tables, and a report writer can see at a glance which fields are numbers to sum and which are labels to group by.

How do star and snowflake schemas differ?

Star and snowflake schemas are two ways to arrange facts and dimensions. A star schema keeps dimensions flat, while a snowflake schema splits them into related tables.

In a star schema, each dimension is one table joined directly to the fact table. The product dimension holds the product name, category and brand in one row. Queries are simple because every join is one step from the fact table, and the repeated text in dimensions costs little storage.

In a snowflake schema, dimensions are normalised into several tables. The product table points at a category table, which points at a department table. This removes repeated values, but a query must join through more tables to reach a label.

Most teams start with a star schema because it is easier to query and easier to explain to report writers. Snowflake fits when a dimension has many levels that change independently, or when storage rules demand strict normalisation. Either way, the choice is about query simplicity against storage tidiness, and it can change as the warehouse grows.

What is ETL, and how is it different from ELT?

ETL and ELT are two orders of the same three jobs: extract data from sources, transform it into a usable shape, and load it into the warehouse. ETL transforms before loading; ELT loads first and transforms inside the warehouse.

In ETL, a separate job pulls data from each source, cleans and reshapes it, then writes the finished rows. The warehouse only ever holds clean data, which keeps queries simple. The cost is that the transformation job must handle every change in source format before anything lands.

In ELT, raw data is loaded into the warehouse first, then transformed with the warehouse's own compute. This suits cloud warehouses with cheap, elastic compute, and it keeps a copy of the raw data for reprocessing when a rule changes. The trade-off is that the warehouse holds uncleaned data as well, so access rules must stop reports from reading raw tables by mistake.

Whichever order you pick, the same work is needed: matching records across systems, fixing bad dates and codes, handling duplicates, and recording what changed. Teams that skip that work end up with reports nobody trusts, no matter which letters they use. The engineering side of this work is covered by data engineering services, which handle pipelines and quality checks.

Example (hypothetical): a three-store retailer builds a warehouse

Example (hypothetical): a retailer with three stores wants one sales report instead of three spreadsheets. Each store records about 200 orders a day in its own till system, and the head office wants to compare stores, products and months.

The team loads each store's orders into a staging area, then builds a fact table with one row per order line. Three stores times 200 orders times 365 days gives about 219,000 order rows a year, and each order line row is about 120 bytes, so a year of orders takes roughly 26 megabytes before indexes. That is small, which tells the team the hard part is not storage but matching product codes across stores.

Two stores use the same product codes and one does not, so the team builds a product dimension that maps all three code sets to one list. A data mart for the buying team holds only product and supplier views, while the finance team reads the full fact table. Metadata records that "net sales" means after returns, so both teams read the same definition.

After three months the weekly report takes an hour to prepare instead of a day, because the numbers come from one table instead of three reconciled files. The warehouse did not add new data; it removed the manual joining that used to eat the week.

What are the common mistakes?

The most common data warehouse mistakes are loading data without a clear question, skipping definitions, and letting raw source quirks leak into reports.

  • Building without a first report in mind. A warehouse with no named user and no first question becomes a dumping ground.
  • No shared definitions. If "active customer" means three things in three teams, the warehouse will report three different numbers.
  • Skipping the staging area. Loading raw data straight into reporting tables means bad rows reach dashboards.
  • Over-normalising early. A snowflake schema before anyone writes a query slows the first reports for little benefit.
  • No owner for data quality. Bad source data that nobody fixes will be bad in the warehouse too.
  • Keeping every column forever. Unused columns still cost storage and confuse report writers.

Key takeaways

  • A data warehouse is shaped for questions, not transactions, and keeps history instead of overwriting it
  • Facts hold the numbers to add up; dimensions hold the labels to group by
  • Star schemas are the usual starting point because their queries are simple
  • ETL cleans before loading; ELT loads raw data and transforms inside the warehouse
  • Shared definitions and a staging area are what make warehouse numbers trustworthy

Frequently asked questions

What is a data warehouse in simple terms?

A data warehouse is a central store of cleaned, historical data from many systems, shaped so teams can run reports and analysis on one trusted copy instead of reconciling separate files.

How is a data warehouse different from a data lake?

A data lake stores raw data in its original form for many uses, while a warehouse stores cleaned, structured data shaped for reporting. Many teams use both: the lake keeps raw copies and the warehouse serves the reports.

What is a star schema?

A star schema is a layout with one fact table joined directly to flat dimension tables. It is called a star because the fact table sits in the middle with dimensions around it, and it makes common report queries short and fast.

Do small companies need a data warehouse?

Not always. A small team with one or two sources can often report from a single database or spreadsheet. A warehouse earns its place when several systems must be combined and the same questions are asked every week.

What is ETL?

ETL stands for extract, transform, load: pull data from source systems, clean and reshape it, then write it into the warehouse. ELT swaps the order, loading raw data first and transforming it inside the warehouse.

How long does it take to build a first data warehouse?

A first warehouse for one question, such as sales reporting, often takes a few weeks of focused work when the sources are known. Larger warehouses with many sources and teams take months, so most teams start narrow and expand.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning a warehouse or cleaning up reporting across systems? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Data Engineering service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call